Re: [Prototype-core] Playing with Google's Closure Compiler and got a message for Prototype 1.7.0.0

2011-05-17 Thread Rick Waldron
Andrew, Richard Not sure if this helps, but I figured it was worth the mention... jQuery no longer uses GCC for min/compression... but when we did, we had the warn level set to quiet: https://github.com/jquery/jquery/commit/d503845d0cf45632c0d7c3542ffd1b19257a8e5e#L0L104 Hopefully that's

Re: [Prototype-core] DOM Events Mutation event types

2010-01-14 Thread Rick Waldron
I've used all of the support Mutation Events with $(document).observe() without changing anything in Prototype. On Thu, Jan 14, 2010 at 7:23 AM, Allen Madsen bla...@gmail.com wrote: I wouldn't mind if this made it into core either. Allen Madsen http://www.allenmadsen.com On Tue, Jan

Re: [Prototype-core] DOM Events Mutation event types

2010-01-14 Thread Rick Waldron
Supported* On Thu, Jan 14, 2010 at 12:12 PM, Rick Waldron waldron.r...@gmail.comwrote: I've used all of the support Mutation Events with $(document).observe() without changing anything in Prototype. On Thu, Jan 14, 2010 at 7:23 AM, Allen Madsen bla...@gmail.com wrote: I wouldn't mind

[Prototype-core] Re: Function.EMPTY and Function.K

2009-09-25 Thread Rick Waldron
On the subject of end developer confusion, I'd like to make a suggestion regarding the naming... Function.emptyFn Function.returnFn Because they say exactly what they are. This is how I've named (almost... $.function.emptyFn() and $.function.returnFn() ) the exact same functionality in the

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-07 Thread Rick Waldron
TJ... I once woke up from a nap in the middle of a saturday and solved a silly issue i was having with event bubbling/propagation... I had seen the solution in code as the last thing before I woke up. I tried it... and it worked. The point: never feel bad about waking up to code on the brain :)

[Prototype-core] Re: Node List?

2009-07-30 Thread Rick Waldron
If you're interested, I've actually built a bridge library called GenevaJS that does exactly what you're looking for. Keep in mind, it's not yet finished, but the core concept you're looking for, things like: $('collection').addClassName('classname'); Is there. Yes... thats a single $...

[Prototype-core] Re: Node List?

2009-07-30 Thread Rick Waldron
To add a little more information... GenevaJS dynamically redefines all of prototype's Element methods to behave like Enumerable methods and comes with about 80% of jQuery's methods... On Thu, Jul 30, 2009 at 3:04 PM, Rick Waldron waldron.r...@gmail.comwrote: If you're interested, I've

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) -- Revised from Robert's version

2009-06-25 Thread Rick Waldron
Note this last revision brings back a bit more of Robert's version, it's more 50/50 now. Rick On Thu, Jun 25, 2009 at 12:53 PM, Rick Waldron waldron.r...@gmail.comwrote: You're right... It appears i copied the source in a bit hastily. After re-examining, I've revised again... http

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) -- Revised from Robert's version

2009-06-25 Thread Rick Waldron
property doesn't actually stop the repeater. Your stop returns before further execution happens, but the timeout ID for the window still exists. What am i missing? -joe t. On Jun 24, 12:20 pm, Rick Waldron waldron.r...@gmail.com wrote: I made a few modifications to your version, allowing

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

2009-06-25 Thread Rick Waldron
and Function#defer to return a PE-like object instance with a stop method would make more sense API wise, but at the expense of a larger memory footprint and backwards compatibility. As you can see, making the right choice isn't simple. Best, Tobie On Jun 24, 11:28 pm, Rick Waldron waldron.r

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

2009-06-24 Thread Rick Waldron
cancel the repeat from w/in the function itself. The only thing missing is the bind() behavior but, well, that's what bind is for. If you need to bind arguments, just bind() your arguments first. On Jun 23, 8:25 am, Rick Waldron waldron.r...@gmail.com wrote: I detest the way setInterval

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

2009-06-24 Thread Rick Waldron
I've subbed my implementation with your to do some use-case testing. I'll report back anything of interest as I go along. Rick On Wed, Jun 24, 2009 at 10:49 AM, Rick Waldron waldron.r...@gmail.comwrote: This is fantastic feedback - thanks! On Wed, Jun 24, 2009 at 9:55 AM, Robert Kieffer

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) -- Revised from Robert's version

2009-06-24 Thread Rick Waldron
Waldron waldron.r...@gmail.comwrote: I've subbed my implementation with your to do some use-case testing. I'll report back anything of interest as I go along. Rick On Wed, Jun 24, 2009 at 10:49 AM, Rick Waldron waldron.r...@gmail.comwrote: This is fantastic feedback - thanks! On Wed

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

2009-06-24 Thread Rick Waldron
in the mailing list. :) Best, Tobie On Jun 24, 4:50 pm, Rick Waldron waldron.r...@gmail.com wrote: I've subbed my implementation with your to do some use-case testing. I'll report back anything of interest as I go along. Rick On Wed, Jun 24, 2009 at 10:49 AM, Rick Waldron

[Prototype-core] Re: writeAttribute 'style' in IE 7

2009-04-30 Thread Rick Waldron
$(elParent).readAttribute('style') is elParent a var of an extended element? my first guess would be that it is.. if it is.. try: elParent.readAttribute('style') if its not... try: $('elParent').readAttribute('style') same with: el.writeAttribute( so... put together: