Resending as plain text to avoid the unpredictable mailer-inserted spacing.
On Thu, May 31, 2012 at 5:41 PM, Rick Waldron <[email protected]> wrote: > On Thu, May 31, 2012 at 8:11 PM, Mark S. Miller <[email protected]> wrote: >> On Thu, May 31, 2012 at 4:55 PM, Rick Waldron <[email protected]> wrote: >>> >>> Could you post a corrected example? Thanks. > > To reduce any confusion, I've posted the corrected code here: > https://gist.github.com/2847608 Does the code you show (with comments deleted) DOM.each = function( elems, callbackFn ) { var bound; if ( !Function.isBound(callbackFn) ) { bound = callbackFn.bind( elems ); } else { bound = callbackFn; } [].forEach.call( elems, bound ); } do anything different than the simpler code DOM.each = function( elems, callbackFn ) { var bound; bound = callbackFn.bind( elems ); [].forEach.call( elems, bound ); } ? -- Cheers, --MarkM -- Cheers, --MarkM _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

