forked from 0x2620/oxjs
load modules with Ox.VERSION in build mode to make caching work
This commit is contained in:
parent
0be0d5fbb7
commit
0588ebe211
3 changed files with 5 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ Ox.load = function() {
|
|||
} else {
|
||||
Ox.forEach(modules, function(options, module) {
|
||||
Ox.getFile(
|
||||
Ox.PATH + 'Ox.' + module + '/Ox.' + module + '.js',
|
||||
Ox.PATH + 'Ox.' + module + '/Ox.' + module + '.js?' + Ox.VERSION,
|
||||
function() {
|
||||
Ox.load[module](options, function(success) {
|
||||
succeeded += success;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue