[Prototype-core] Re: Prototype 1.6 security exception in firefox 2.0.0.20 in XPath code

2009-06-26 Thread Scott Windsor
That did the trick. Odd that this only caused an issue in firefox 2. Anyway, thanks! - scott On Jun 24, 5:10 pm, Scott Windsor swind...@gmail.com wrote: Thanks, I am using jquery.  I'll give this a try! - scott On Jun 24, 7:17 am, upi teich...@gmx.de wrote: I had the very same problem

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...])

2009-06-26 Thread Tobie Langel
How to stop it? arguments? Stopping it is as easy as: pe = foo.repeat(); pe.stop(); Passing arguments would require some simple currying: Function.prototype.repeat = function(interval) { var fn = this; if (arguments.length 1) { // not testsed but you get the idea fn =

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...])

2009-06-26 Thread joe t.
Tobie, Function.prototype.repeat = function(interval) { var fn = this; if (arguments.length 1) { // not testsed but you get the idea fn = fn.curry.apply(fn, Array.prototype.slice.call(arguments, 1)); } return new PeriodicalExecuter(fn, interval); } If sticking to the PE