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)); });