Skip to content

Commit

Permalink
Removed cache prevention in Gordon.require
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schneider committed Jan 18, 2010
1 parent d304238 commit 9baa8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gordon.js
Expand Up @@ -25,7 +25,7 @@
_g.require = function(url){
if(!url.match(/\.([^\/]*)$/)){ url += ".js"; }
if(!_loadedUrls[url]){
with(_g.xhr("GET", _g.ROOT + url + '?' + Math.random(), false)){
with(_g.xhr("GET", _g.ROOT + url, false)){
send(null);
if(status == 200){
eval(responseText);
Expand Down

0 comments on commit 9baa8b2

Please sign in to comment.