DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search


You are not logged in.

#1 2008-01-06 23:34:26

Frédéric Cassin
New member
Registered: 2008-01-06
Posts: 1

Dojo 1.0.x doesn't work with CompanionJS

A javascript error occurs into any Dojo Ajax framework web page at this line dojo.js line : if((!this["console"])||(!console["firebug"])){
"library not registered" JS exception error is raised by the evaluation of 'console["firebug"]'
This JS error occurs when the page is loaded using the URL. Page reload using F5 (refresh) doesn't raised the error again !?!

Last edited by Frédéric Cassin (2008-01-06 23:37:16)

Offline

 

#2 2008-01-07 10:51:04

fabrice
DebugBar Support
From: Toulouse, France
Registered: 2007-11-08
Posts: 261
Website

Re: Dojo 1.0.x doesn't work with CompanionJS

Hi Frédéric,

This is a known problem in the version 0.2. I have corrected it in an internal version I will send you by email.

If it is working on your side, I will post this new version to replace the 0.2.

For the "refresh" problem. It is a bug so far. On a refresh, Companion.JS do not add "console.log" feature in the page so far :-( (I am working on this bug as well but didn't find a solution so far...)

Thank you to keep me informed and for reporting the problem.

Offline

 

#3 2008-02-05 13:23:26

fabrice
DebugBar Support
From: Toulouse, France
Registered: 2007-11-08
Posts: 261
Website

Re: Dojo 1.0.x doesn't work with CompanionJS

Hi,

This problem should be corrected with Companion.JS v0.3 (not the "refresh" problem... I am still working on this one).

Offline

 

#4 2008-07-04 21:36:45

danlee6
New member
Registered: 2008-07-04
Posts: 1

Re: Dojo 1.0.x doesn't work with CompanionJS

I'm using IE6 with Companion.JS 0.3 and Dojo 1.1.  There still seems to be an error when using dojo and Companion.JS together.  A javascript error happens on the reference to "console".

Offline

 

#5 2008-07-04 22:09:01

fabrice
DebugBar Support
From: Toulouse, France
Registered: 2007-11-08
Posts: 261
Website

Re: Dojo 1.0.x doesn't work with CompanionJS

Hi,

Is it generated on refreshes ? the "console.log" feature of Companion.JS is not working yet when the page is refreshed. This will be corrected in the next version.

Can you confirm this is on a page refresh ?

Thanks a lot.

Offline

 

#6 2008-07-29 20:08:46

bruno1378
New member
Registered: 2008-04-11
Posts: 3

Re: Dojo 1.0.x doesn't work with CompanionJS

I also have the same JS error when using dojo and Companion.JS.

This is on the initial page load for me, NOT on refresh. on refresh of the page, I do not get the error.

The error comes on this line:
if(!console[tn])


Using companion.js v 0.3 and dojo v1.1.0

Offline

 

#7 2008-07-29 20:17:32

fabrice
DebugBar Support
From: Toulouse, France
Registered: 2007-11-08
Posts: 261
Website

Re: Dojo 1.0.x doesn't work with CompanionJS

Hi,

Do you have a public url where I can reproduce the problem ?

Offline

 

#8 2008-07-29 20:52:46

bruno1378
New member
Registered: 2008-04-11
Posts: 3

Re: Dojo 1.0.x doesn't work with CompanionJS

I don't....but I found the error on one of the dojo demos.

http://dojocampus.org/explorer/

Offline

 

#9 2008-08-05 22:59:50

fabrice
DebugBar Support
From: Toulouse, France
Registered: 2007-11-08
Posts: 261
Website

Re: Dojo 1.0.x doesn't work with CompanionJS

OK,

Dojo is trying to check if the browser has "console" features, but on IE the code is not correct, so it breaks.

I will try to contact dojo team to let them know and give them a workaround for Companion.JS

Offline

 

#10 2008-08-05 23:40:19

fabrice
DebugBar Support
From: Toulouse, France
Registered: 2007-11-08
Posts: 261
Website

Re: Dojo 1.0.x doesn't work with CompanionJS

Offline

 

Partners : Debugbar | Mobilier de bureau | Debugbar Wiki | IEForge | Lampes design | La fourmi créative