Hi Danielo

Jeremy, please review the navigator widget code, It has an extra comma. :P
> regards
>

Doh! Thanks, much appreciated. Fixed for 5.0.9:

https://github.com/Jermolene/TiddlyWiki5/commit/b51d851f939b5259020cf04848a6a726df258b9d

Best wishes

Jeremy


>
> El domingo, 6 de abril de 2014 16:51:29 UTC+2, Eric Shulman escribió:
>
>> On Sunday, April 6, 2014 1:06:33 AM UTC-7, Jeremy Ruston wrote:
>>>
>>> var MyWidget = function(parseTreeNode,options) {
>>>> this.initialise(parseTreeNode,options);
>>>>  this.addEventListeners([
>>>> {type: "tw-custom-event", handler: "handleEvent"},
>>>> {type: "tw-custom-custom2", handler: "handleEvent"},
>>>>  ]);
>>>> };
>>>>
>>>
>> Although this won't fix your problem, there is an extra comma in your
>> array syntax (at the end of the line for "tw-custom-custom2").
>> While some browsers ignore this, some browsers will throw a syntax error
>> or even may create an array item with a null value, messing up the
>> array.length, and possible causing an error to be thrown later on when code
>> attempts to access the null value.
>>
>> enjoy,
>> -e
>> Eric Shulman
>> TiddlyTools / ELS Design Studios
>>
>> YOUR DONATIONS ARE VERY IMPORTANT!
>> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
>>    http://TiddlyTools.github.com/fundraising.html#MakeADonation
>>
>> Professional TiddlyWiki Consulting Services...
>> Analysis, Design, and Custom Solutions:
>>    http://www.TiddlyTools.com/#Contact
>>
>>
>>


-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to