don't read readme html files from cache

This commit is contained in:
rolux 2012-06-20 18:32:48 +02:00
parent 23684de82c
commit 56dcb0e725

View file

@ -237,7 +237,7 @@ Ox.load(function() {
app.state.loaded = true;
},
loadData: function(callback) {
var q = '?' + Ox.random(100000),
var q = '?' + Ox.random(1000000),
url = 'https://oxjs.org/downloads/downloads.json' + q;
Ox.getJSON('index.json' + q, function(data) {
app.data = Ox.extend(app.data, data);
@ -594,7 +594,7 @@ Ox.load(function() {
id && $panel.find('.item#' + id).addClass('selected');
Ox.get('readme/' + (
id || 'index/readme'
) + '.html', function(html) {
) + '.html?' + Math.random(1000000), function(html) {
$text.empty()
.append(
id ? html