diff --git a/dist/react-habitat-redux.js b/dist/react-habitat-redux.js index 4b6f314..72d2e7a 100644 --- a/dist/react-habitat-redux.js +++ b/dist/react-habitat-redux.js @@ -63,8 +63,12 @@ return /******/ (function(modules) { // webpackBootstrap var _ReduxDomFactory = __webpack_require__(1); - exports.ReduxDomFactory = _ReduxDomFactory.ReduxDomFactory; - exports.default = _ReduxDomFactory.ReduxDomFactory; + var _ReduxDomFactory2 = _interopRequireDefault(_ReduxDomFactory); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + exports.ReduxDomFactory = _ReduxDomFactory2.default; + exports.default = _ReduxDomFactory2.default; /***/ }), /* 1 */ diff --git a/dist/react-habitat-redux.min.js b/dist/react-habitat-redux.min.js index 209f628..6b2548f 100644 --- a/dist/react-habitat-redux.min.js +++ b/dist/react-habitat-redux.min.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM"),require("ReactRedux")):"function"==typeof define&&define.amd?define(["React","ReactDOM","ReactRedux"],t):"object"==typeof exports?exports.ReactHabitatRedux=t(require("React"),require("ReactDOM"),require("ReactRedux")):e.ReactHabitatRedux=t(e.React,e.ReactDOM,e.ReactRedux)}(this,function(e,t,r){return function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReduxDomFactory=void 0;var o=r(1);t.ReduxDomFactory=o.ReduxDomFactory,t.default=o.ReduxDomFactory},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var r=0;t.length>r;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),a=r(4),c=r(2),i=o(c),f=r(3),d=o(f),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;n(this,e),this.store=t}return u(e,[{key:"inject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];r&&d.default.render(i.default.createElement(a.Provider,{store:this.store},i.default.createElement(e,t)),r)}},{key:"dispose",value:function(e){e&&d.default.unmountComponentAtNode(e)}}]),e}();t.default=l},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r}])}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM"),require("ReactRedux")):"function"==typeof define&&define.amd?define(["React","ReactDOM","ReactRedux"],t):"object"==typeof exports?exports.ReactHabitatRedux=t(require("React"),require("ReactDOM"),require("ReactRedux")):e.ReactHabitatRedux=t(e.React,e.ReactDOM,e.ReactRedux)}(this,function(e,t,r){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReduxDomFactory=void 0;var o=r(1),u=n(o);t.ReduxDomFactory=u.default,t.default=u.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var r=0;t.length>r;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(4),c=r(2),i=n(c),f=r(3),d=n(f),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;o(this,e),this.store=t}return u(e,[{key:"inject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];r&&d.default.render(i.default.createElement(a.Provider,{store:this.store},i.default.createElement(e,t)),r)}},{key:"dispose",value:function(e){e&&d.default.unmountComponentAtNode(e)}}]),e}();t.default=l},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r}])}); \ No newline at end of file diff --git a/lib/index.js b/lib/index.js index 1b95e76..fe1e696 100644 --- a/lib/index.js +++ b/lib/index.js @@ -7,5 +7,9 @@ exports.ReduxDomFactory = undefined; var _ReduxDomFactory = require('./ReduxDomFactory'); -exports.ReduxDomFactory = _ReduxDomFactory.ReduxDomFactory; -exports.default = _ReduxDomFactory.ReduxDomFactory; \ No newline at end of file +var _ReduxDomFactory2 = _interopRequireDefault(_ReduxDomFactory); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +exports.ReduxDomFactory = _ReduxDomFactory2.default; +exports.default = _ReduxDomFactory2.default; \ No newline at end of file diff --git a/src/index.js b/src/index.js index 9f5177f..228d61c 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import { ReduxDomFactory } from './ReduxDomFactory'; +import ReduxDomFactory from './ReduxDomFactory'; export { ReduxDomFactory }; export default ReduxDomFactory;