From d17cb503821afac9940569b0267d8bc8c1cae9d9 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 29 Aug 2016 09:41:57 +0200 Subject: [PATCH] fix loading --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.js b/src/index.js index 77da64ba23..dfcc7c8e07 100644 --- a/src/index.js +++ b/src/index.js @@ -11,6 +11,10 @@ if (typeof (module) !== 'undefined' && typeof (module.exports) !== 'undefined') module.exports = modules() } +if (typeof (window) !== 'undefined') { + window.remix = modules() +} + function modules () { return { code: {