1
0
Fork 0
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:
j 2012-06-05 13:59:13 +02:00
commit 57caa45bf8
5 changed files with 12 additions and 9 deletions

View file

@ -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 {