when switching version in loader, update path
This commit is contained in:
parent
dad0893144
commit
7648d2d4ac
1 changed files with 1 additions and 1 deletions
|
@ -12,9 +12,9 @@
|
|||
time = +new Date();
|
||||
|
||||
if (args[0] === true) {
|
||||
console.log('OK')
|
||||
path = path.replace(/dev\/$/, 'build/');
|
||||
loadScript('Ox.js', function() {
|
||||
Ox.PATH = path;
|
||||
Ox.load.apply(null, Ox.slice(args, 1));
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue