[Project_owners] jslib

Luca Minuti lithian at tiscalinet.it
Tue Mar 28 14:45:53 EST 2006


Hi Philip,

> Unfortunately if I also have jslib installed separately I get the
> following error in the jsconsole:

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

It is strange because the first lines of jslib.js are:

/**
 * insure jslib base is not already loaded
 */
if (typeof(JS_LIB_LOADED)!='boolean') {
try {

/*************************** GLOBALS ***************************/
const JS_LIB_LOADED     = true; //**** this is the line 32

--
Luca Minuti
http://mozimage.mozdev.org/




More information about the Project_owners mailing list