1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-10 21:05:46 +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]; return this.modules[name] = this.globals[uri];
this.globals[uri] = this.modules[name]; this.globals[uri] = this.modules[name];
bootstrap_jsm.loadSubScript(url, this.modules[name]); bootstrap_jsm.loadSubScript(url, this.modules[name], "UTF-8");
return; return;
} }
catch (e) { catch (e) {

View File

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