forked from 0x2620/oxjs
write current version to Ox.json and patch Ox.VERSION if loaded via dev/Ox.js
This commit is contained in:
parent
01587f7348
commit
57caa45bf8
5 changed files with 12 additions and 9 deletions
|
|
@ -19,7 +19,8 @@ window.Ox = {
|
|||
path = getPath();
|
||||
|
||||
loadJSON(function(data) {
|
||||
loadScripts(data, function() {
|
||||
loadScripts(data.files, function() {
|
||||
Ox.VERSION = data.version;
|
||||
if (args.length == 1) {
|
||||
callback()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue