update Ox.MODE if switching to minified on load
This commit is contained in:
parent
525218dc35
commit
caa897c698
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
if (args[0] === true && regexp.test(path)) {
|
if (args[0] === true && regexp.test(path)) {
|
||||||
path = path.replace(regexp, 'build/');
|
path = path.replace(regexp, 'build/');
|
||||||
loadScript('Ox.js', function() {
|
loadScript('Ox.js', function() {
|
||||||
|
Ox.MODE = 'build';
|
||||||
Ox.PATH = path;
|
Ox.PATH = path;
|
||||||
Ox.load.apply(null, Ox.slice(args, 1));
|
Ox.load.apply(null, Ox.slice(args, 1));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue