2824b1598a6a9f46cd9a52e0b1af1ab1.json 4.08 KB
{"ast":null,"code":"var __extends = this && this.__extends || function () {\n  var extendStatics = function (d, b) {\n    extendStatics = Object.setPrototypeOf || {\n      __proto__: []\n    } instanceof Array && function (d, b) {\n      d.__proto__ = b;\n    } || function (d, b) {\n      for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n    };\n\n    return extendStatics(d, b);\n  };\n\n  return function (d, b) {\n    extendStatics(d, b);\n\n    function __() {\n      this.constructor = d;\n    }\n\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n  };\n}();\n\nimport * as React from 'react';\nexport var MiniStoreContext = React.createContext(null);\n\nvar Provider =\n/** @class */\nfunction (_super) {\n  __extends(Provider, _super);\n\n  function Provider() {\n    return _super !== null && _super.apply(this, arguments) || this;\n  }\n\n  Provider.prototype.render = function () {\n    return React.createElement(MiniStoreContext.Provider, {\n      value: this.props.store\n    }, this.props.children);\n  };\n\n  return Provider;\n}(React.Component);\n\nexport { Provider };","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/mini-store/esm/Provider.js"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","constructor","prototype","create","React","MiniStoreContext","createContext","Provider","_super","apply","arguments","render","createElement","value","props","store","children","Component"],"mappings":"AAAA,IAAIA,SAAS,GAAI,QAAQ,KAAKA,SAAd,IAA6B,YAAY;AACrD,MAAIC,aAAa,GAAG,UAAUC,CAAV,EAAaC,CAAb,EAAgB;AAChCF,IAAAA,aAAa,GAAGG,MAAM,CAACC,cAAP,IACX;AAAEC,MAAAA,SAAS,EAAE;AAAb,iBAA6BC,KAA7B,IAAsC,UAAUL,CAAV,EAAaC,CAAb,EAAgB;AAAED,MAAAA,CAAC,CAACI,SAAF,GAAcH,CAAd;AAAkB,KAD/D,IAEZ,UAAUD,CAAV,EAAaC,CAAb,EAAgB;AAAE,WAAK,IAAIK,CAAT,IAAc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5BH,KAAK,CAACa,SATsB,CAA9B;;AAUA,SAASV,QAAT","sourcesContent":["var __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    };\n    return function (d, b) {\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nimport * as React from 'react';\nexport var MiniStoreContext = React.createContext(null);\nvar Provider = /** @class */ (function (_super) {\n    __extends(Provider, _super);\n    function Provider() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    Provider.prototype.render = function () {\n        return (React.createElement(MiniStoreContext.Provider, { value: this.props.store }, this.props.children));\n    };\n    return Provider;\n}(React.Component));\nexport { Provider };\n"]},"metadata":{},"sourceType":"module"}