1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 08:05:46 +01:00

Add forgotten NEWS entry.

This commit is contained in:
Kris Maglione
2010-10-15 00:49:47 -04:00
parent a3799d3d05
commit 9e10404daf
3 changed files with 8 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ const FailedAssertion = Class("FailedAssertion", Error, {
}
});
function wrapCallback(fn)
function wrapCallback(fn)
fn.wrapper = function wrappedCallback () {
try {
return fn.apply(this, arguments);
@@ -1292,7 +1292,7 @@ const Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference
this._prefContexts[this._prefContexts.length - 1][name] = val;
}
function assertType(needType)
function assertType(needType)
util.assert(type === Ci.nsIPrefBranch.PREF_INVALID || type === needType,
type === Ci.nsIPrefBranch.PREF_INT
? "E521: Number required after =: " + name + "=" + value