[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [olpc-software] Re: A "little demo"



Hi --

Thanks. Why do you think it works in most 1.5 Firefoxes and fails in a few cases? We've not tested it with Win2K but why would that interfere with JavaScript?

Cheers,

Alan

---------

At 06:52 PM 4/10/2006, j m wrote:
Hi,

it doesn't work Firefox 1.5 (same result with 1.5.0.1) - Win2k

The javascript console says onLoad() failed because of the following
error : transcript has no properties
Source File : http://smallthought.com/logo/Evaluator.js
Ligne : 9

and after that, evaluator is not defined so it doesn't work

Changing line 9 of Evaluator.js to be
if(transcript){ transcript.addPrimitives(this.turtle); }

makes the exemple works, but it might break elsewhere

--
 jm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]