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

@ -1,5 +1,5 @@
Ox.load({Geo: {}, Image: {}, UI: {}, Unicode: {}}, function() {
Ox.getJSON('../dev/Ox/json/Ox.json', function(files) {
Ox.getJSON('../dev/Ox/json/Ox.json', function(data) {
var $body = $('body')
.css({
@ -23,7 +23,7 @@ Ox.load({Geo: {}, Image: {}, UI: {}, Unicode: {}}, function() {
setBackground($tests, true);
tests(
Ox.flatten(files).sort().map(function(file) {
Ox.flatten(data.files).sort().map(function(file) {
return '../dev/' + file;
}).concat([
'../dev/Ox.Geo/Ox.Geo.js',