ignore index.json, reload it
This commit is contained in:
parent
796d784dd8
commit
4ad7bc8ad4
2 changed files with 2 additions and 1 deletions
|
@ -3,3 +3,4 @@ tools/geo/json/_cities.json
|
|||
dev
|
||||
build/
|
||||
tools/geo/json/countries.json
|
||||
index.json
|
||||
|
|
2
index.js
2
index.js
|
@ -215,7 +215,7 @@ Ox.load(function() {
|
|||
app.state.loaded = true;
|
||||
},
|
||||
loadData: function(callback) {
|
||||
Ox.getJSON('index.json', function(data) {
|
||||
Ox.getJSON('index.json?'+Ox.random(1000), function(data) {
|
||||
app.data = Ox.extend(app.data, data);
|
||||
app.data.pages.forEach(function(page) {
|
||||
var id = page.id == 'doc' ? 'documentation' : page.id;
|
||||
|
|
Loading…
Reference in a new issue