Permalink
Browse files

Removed cache prevention in Gordon.require

  • Loading branch information...
1 parent d304238 commit 9baa8b21e8fcecb0e51340af9b002e089fbc5a24 Tobias Schneider committed Jan 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 gordon.js
View
@@ -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);

0 comments on commit 9baa8b2

Please sign in to comment.