You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
2.7 KiB

{"ast":null,"code":"import warning from '../utils/warning';\n\nfunction verify(selector, methodName, displayName) {\n if (!selector) {\n throw new Error(\"Unexpected value for \" + methodName + \" in \" + displayName + \".\");\n } else if (methodName === 'mapStateToProps' || methodName === 'mapDispatchToProps') {\n if (!Object.prototype.hasOwnProperty.call(selector, 'dependsOnOwnProps')) {\n warning(\"The selector for \" + methodName + \" of \" + displayName + \" did not specify a value for dependsOnOwnProps.\");\n }\n }\n}\n\nexport default function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, displayName) {\n verify(mapStateToProps, 'mapStateToProps', displayName);\n verify(mapDispatchToProps, 'mapDispatchToProps', displayName);\n verify(mergeProps, 'mergeProps', displayName);\n}","map":{"version":3,"names":["warning","verify","selector","methodName","displayName","Error","Object","prototype","hasOwnProperty","call","verifySubselectors","mapStateToProps","mapDispatchToProps","mergeProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-redux/es/connect/verifySubselectors.js"],"sourcesContent":["import warning from '../utils/warning';\n\nfunction verify(selector, methodName, displayName) {\n if (!selector) {\n throw new Error(\"Unexpected value for \" + methodName + \" in \" + displayName + \".\");\n } else if (methodName === 'mapStateToProps' || methodName === 'mapDispatchToProps') {\n if (!Object.prototype.hasOwnProperty.call(selector, 'dependsOnOwnProps')) {\n warning(\"The selector for \" + methodName + \" of \" + displayName + \" did not specify a value for dependsOnOwnProps.\");\n }\n }\n}\n\nexport default function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, displayName) {\n verify(mapStateToProps, 'mapStateToProps', displayName);\n verify(mapDispatchToProps, 'mapDispatchToProps', displayName);\n verify(mergeProps, 'mergeProps', displayName);\n}"],"mappings":"AAAA,OAAOA,OAAP,MAAoB,kBAApB;;AAEA,SAASC,MAAT,CAAgBC,QAAhB,EAA0BC,UAA1B,EAAsCC,WAAtC,EAAmD;EACjD,IAAI,CAACF,QAAL,EAAe;IACb,MAAM,IAAIG,KAAJ,CAAU,0BAA0BF,UAA1B,GAAuC,MAAvC,GAAgDC,WAAhD,GAA8D,GAAxE,CAAN;EACD,CAFD,MAEO,IAAID,UAAU,KAAK,iBAAf,IAAoCA,UAAU,KAAK,oBAAvD,EAA6E;IAClF,IAAI,CAACG,MAAM,CAACC,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCP,QAArC,EAA+C,mBAA/C,CAAL,EAA0E;MACxEF,OAAO,CAAC,sBAAsBG,UAAtB,GAAmC,MAAnC,GAA4CC,WAA5C,GAA0D,iDAA3D,CAAP;IACD;EACF;AACF;;AAED,eAAe,SAASM,kBAAT,CAA4BC,eAA5B,EAA6CC,kBAA7C,EAAiEC,UAAjE,EAA6ET,WAA7E,EAA0F;EACvGH,MAAM,CAACU,eAAD,EAAkB,iBAAlB,EAAqCP,WAArC,CAAN;EACAH,MAAM,CAACW,kBAAD,EAAqB,oBAArB,EAA2CR,WAA3C,CAAN;EACAH,MAAM,CAACY,UAAD,EAAa,YAAb,EAA2BT,WAA3B,CAAN;AACD"},"metadata":{},"sourceType":"module"}