Archive for the ‘Changelog’ Category

Commentag plugin now compatible with Prototype.js lib running in parallel

Monday, April 21st, 2008

Strangely enough, the Commentag plugin was not working on Nellio.com.
It produced some strange javascript outputs.

Digging into the problem showed that jQuery is not a friend of Prototype (two Javascript librairies).
So, I’m now running jQuery in noConflict() mode.

Besides, I also had to change
for (t in tags[])
to something like
for (t=0;t < tags.length;t++)

Because it looks like Prototype is adding some helpers to manipulate arrays which causes a for each loop to actually call these helpers. Which is really bad.

So now, it is all fixed.
Oh, btw, no one has got to update their commentag plugin :-)
If you had the problem and turned off the commentag plugin, just re active it and it will work like a charm.

Don't forget to give us your feedback

Share/Save/Bookmark