[Project_owners] Re: JavaScript Error: "redeclaration of const JS_LIB_LOADED"

Philip Chee philip.chee at gmail.com
Wed Oct 26 20:04:13 EDT 2005


On Mon, 24 Oct 2005 08:31:36 -0600, Pete Collins wrote:

> Works*
> ------------------------------------------------------------------------
> js>  const JS_LIB_LOADED = true;
> js> if (typeof(JS_LIB_LOADED) == "undefined")
> {
>   try {
>     eval("const JS_LIB_LOADED = true;");
>   } catch (e) {}
> }
> js>
> ------------------------------------------------------------------------
> 
> I'll get the fix into jsLib.

Well now the error just moves to the next line:

Error: [JavaScript Error: "redeclaration of const JS_LIBRARY" {file:
"chrome://mozimage/content/jslib.js" line: 7}]
Source File: chrome://mozimage/content/jslib.js
Line: 7

Phil
-- 
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]A clean disk is the sign of a warped drive.
* TagZilla 0.059


More information about the Project_owners mailing list