From db2251f51b34ba0120d5021dc1e5fe76b3b50eed Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Mon, 12 Oct 2015 18:05:27 -0400 Subject: [PATCH] Remove external window so consumers don't need to include it as well. --- dist/switcheroo.min.js | 2 +- src/components/Switcher.js | 1 - webpack.config.js | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/switcheroo.min.js b/dist/switcheroo.min.js index e95ce61..e5bfc79 100644 --- a/dist/switcheroo.min.js +++ b/dist/switcheroo.min.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("window"),require("react")):"function"==typeof define&&define.amd?define(["window","react"],t):"object"==typeof exports?exports.switcheroo=t(require("window"),require("react")):e.switcheroo=t(e.window,e.React)}(this,function(e,t){return function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";t.Switcher=o(1)},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var o=0;o