On 02/16/2011 12:37 PM, Jerome Velociter wrote:

>> +    this.indexDisplay.firstChild.nodeValue = (index + 1) + ' / ' +
>> this.images.length;
>>
>
> Same for firstChild.nodeValue, I would prefer .down().update()

Not quite, indexDisplay.firstChild is a text node, so down() won't 
select it.

this.indexDisplay.update((index + 1) + ' / ' + this.images.length);

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to