1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 09:54:13 +01:00

Minor fixes.

This commit is contained in:
Kris Maglione
2014-04-03 10:48:42 -07:00
parent 2ea385f40f
commit 4bf0e5ab39
2 changed files with 2 additions and 2 deletions

2
common/bootstrap.js vendored
View File

@@ -134,7 +134,7 @@ let JSMLoader = {
return this.modules[name] = this.globals[uri];
this.globals[uri] = this.modules[name];
bootstrap_jsm.loadSubScript(url, this.modules[name]);
bootstrap_jsm.loadSubScript(url, this.modules[name], "UTF-8");
return;
}
catch (e) {

View File

@@ -749,7 +749,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
*
* @returns {XMLHttpRequest}
*/
httpGet: function httpGet(url, params, self) {
httpGet: function httpGet(url, params={}, self) {
if (callable(params))
// Deprecated.
params = { callback: params.bind(self) };