From caa897c6989d89ad9c43b44e3d6c03e991f9fcf7 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 6 Dec 2013 11:11:56 +0100 Subject: [PATCH] update Ox.MODE if switching to minified on load --- source/Ox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Ox.js b/source/Ox.js index 1ad65c0f..10bb8e2c 100644 --- a/source/Ox.js +++ b/source/Ox.js @@ -15,6 +15,7 @@ if (args[0] === true && regexp.test(path)) { path = path.replace(regexp, 'build/'); loadScript('Ox.js', function() { + Ox.MODE = 'build'; Ox.PATH = path; Ox.load.apply(null, Ox.slice(args, 1)); });