Skip to content

Commit

Permalink
FIX: workaround "loadSubScript caching problem" (Gecko 8.0), closes b…
Browse files Browse the repository at this point in the history
  • Loading branch information
rpl committed Aug 6, 2011
1 parent 576fc48 commit 28a9b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/repl.js
Expand Up @@ -920,7 +920,7 @@ function evaluate(code) {
os.writeString(code);
os.close();

var result = loader.loadSubScript(_.TMP_FILE_URL, this._workContext);
var result = loader.loadSubScript(_.TMP_FILE_URL+"?"+Math.random(), this._workContext);

this.$$ = result;
return result;
Expand Down

0 comments on commit 28a9b1d

Please sign in to comment.