From 7648d2d4ac93c740604243d2e8446dea8c5fcc51 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 26 Jun 2012 20:10:31 +0200 Subject: [PATCH] when switching version in loader, update path --- source/Ox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.js b/source/Ox.js index bcb56636..dee8a6ff 100644 --- a/source/Ox.js +++ b/source/Ox.js @@ -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 {