[Seaside] Strange console.log behavior
johan at inceptive.be
Thu Aug 5 05:57:01 UTC 2010
On 05 Aug 2010, at 01:11, Tim Mackinnon wrote:
> I have a button that plays a sound (by the way - how do you contribute to the html5 package - as I have added some audio tag attributes?) but when I use the console logger it sometimes fails and sometimes works. It seems that if Firebug is closed (not disabled though) - my code gives an exception and so stops. If I open firebug it works, and when I close it again it works? And then sometimes it stops again? I thought console was a defined thing - but I don't understand it?
> Has anyone else seen this? Have any tips? Ultimately I will of course remove my debugging - but I would like to know why?
> Here's what I'm doing:
> (html button)
> ((html jQuery id: 'noise') each: (JSStream this call: 'play')) ,
> (html logger log: JSStream this), <--- fails randomly here?
> (html jQuery ajax script: [ :s | self tokenModel releaseToken ]);
> with: 'Honk It' ].
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside