1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 05:57:59 +01:00

Pass encoding argument to loadSubScript.

This commit is contained in:
Kris Maglione
2010-09-30 16:40:42 -04:00
parent 634a26c98d
commit 0c76304f20
2 changed files with 2 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ const Dactyl = Module("dactyl", {
* should be loaded.
*/
loadScript: function (uri, context) {
services.get("subscriptLoader").loadSubScript(uri, context);
services.get("subscriptLoader").loadSubScript(uri, context, File.defaultEncoding);
},
userEval: function (str, context) {