search for: initializeplugins

Displaying 1 result from an estimated 1 matches for "initializeplugins".

2006 Feb 09
3
Error in prototype.js? / Enumerable.each
...atest version of prototype.js from the SVN, including the wonderful $$ operator to loop through a number of elements with a certain classname. In Firefox everything works fine, no JS error, but in IE I get an error in the .each function saying that an Object was expected. What I do is function initializePlugins() { $$(".plugin").each(function(plugin) { // do something } } within that function some events are observed. The error occurs in the catch block of the following function: var Enumerable = { each: function(iterator) { var index = 0; try { this._each(function(val...