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
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue