don't read readme html files from cache
This commit is contained in:
parent
23684de82c
commit
56dcb0e725
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -237,7 +237,7 @@ Ox.load(function() {
|
||||||
app.state.loaded = true;
|
app.state.loaded = true;
|
||||||
},
|
},
|
||||||
loadData: function(callback) {
|
loadData: function(callback) {
|
||||||
var q = '?' + Ox.random(100000),
|
var q = '?' + Ox.random(1000000),
|
||||||
url = 'https://oxjs.org/downloads/downloads.json' + q;
|
url = 'https://oxjs.org/downloads/downloads.json' + q;
|
||||||
Ox.getJSON('index.json' + q, function(data) {
|
Ox.getJSON('index.json' + q, function(data) {
|
||||||
app.data = Ox.extend(app.data, data);
|
app.data = Ox.extend(app.data, data);
|
||||||
|
@ -594,7 +594,7 @@ Ox.load(function() {
|
||||||
id && $panel.find('.item#' + id).addClass('selected');
|
id && $panel.find('.item#' + id).addClass('selected');
|
||||||
Ox.get('readme/' + (
|
Ox.get('readme/' + (
|
||||||
id || 'index/readme'
|
id || 'index/readme'
|
||||||
) + '.html', function(html) {
|
) + '.html?' + Math.random(1000000), function(html) {
|
||||||
$text.empty()
|
$text.empty()
|
||||||
.append(
|
.append(
|
||||||
id ? html
|
id ? html
|
||||||
|
|
Loading…
Reference in a new issue