nsExtensionManager.js.in: fix errors in JS strict mode.

Bug 524781 - xpcshell-tests: turn on strict & werror by default.
r=benjamin.
This commit is contained in:
Jae-Seong Lee-Russo 2009-11-15 12:20:40 +01:00
parent d9a2b38712
commit d810dc515c

View File

@ -2298,7 +2298,7 @@ ExtensionManager.prototype = {
// App disable or enable items as necessary
// _appEnableItem and _appDisableItem will do nothing if the item is already
// in the right state.
id = stripPrefix(itemResource.Value, PREFIX_ITEM_URI);
var id = stripPrefix(itemResource.Value, PREFIX_ITEM_URI);
if (this._isUsableItem(id))
this._appEnableItem(id);
else