mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 08:55:46 +01:00
Minor fixes.
This commit is contained in:
@@ -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) };
|
||||
|
||||
Reference in New Issue
Block a user