Permalink
Browse files

FIX: workaround "loadSubScript caching problem" (Gecko 8.0), closes #19

  • Loading branch information...
1 parent 576fc48 commit 28a9b1df09bbffaf47836805fd28a4e2d0af39e1 @rpl committed Aug 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 chrome/content/repl.js
View
2 chrome/content/repl.js
@@ -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;

0 comments on commit 28a9b1d

Please sign in to comment.