Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Re: addEvent - ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 54 of 65 Topic 36258 of 37484
Post > Topic >>

Re: addEvent - The late entry :)

by Peter Michaux <petermichaux@[EMAIL PROTECTED] > Jul 26, 2008 at 05:19 PM

On Jul 26, 5:07 pm, Peter Michaux <petermich...@[EMAIL PROTECTED]
> wrote:
> On Jul 21, 9:47 pm, Peter Michaux <petermich...@[EMAIL PROTECTED]
> wrote:
>
> > On Jul 21, 2:37 pm, "Richard Cornford" <Rich...@[EMAIL PROTECTED]
>
> > wrote:
>
> > [snip]
>
> > > Function.prototype.bind = function(obj){
> > >   var args, fnc;
> > >   if(arguments.length > 1){
> > >     fnc = this;
> > >     args = Array.prototype.slice.call(arguments, 1);
>
> [snip]
>
> > If I remember correctly, David Mark suggested he new of
> > an implementation where the above code would error. I use a loop to
> > accomplish the goal in the above line.
>
> I'm cc'ing David about this.
>
> David, am I remembering incorrectly?

David replied to me

"Yes.  DOM node collections throw exceptions on slice, not arguments."

ECMA-262 3rd 15.4.4.10

"The slice function is intentionally generic; it does not require that
its this value be an Array object. Therefore it can be transferred to
other kinds of objects for use as a method. Whether the slice function
can be applied successfully to a host object is implementation-
dependent."

Peter
 




 65 Posts in Topic:
addEvent - The late entry :)
"Aaron Gray" &l  2008-07-16 16:17:14 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-16 17:28:50 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 01:09:15 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 01:32:44 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 02:49:20 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 02:54:32 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-20 13:57:48 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 18:23:17 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-20 18:50:43 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 22:30:43 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-20 23:22:31 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 18:25:01 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-20 18:50:39 
Re: addEvent - The late entry :)
"Aaron Gray" &l  2008-07-20 20:30:25 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-20 23:22:25 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-19 19:00:46 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-19 19:01:18 
Re: addEvent - The late entry :)
Thomas 'PointedEars' Lahn  2008-07-20 10:37:01 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-20 10:59:25 
Re: addEvent - The late entry :)
Thomas 'PointedEars' Lahn  2008-07-21 02:07:40 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-20 17:33:45 
Re: addEvent - The late entry :)
Thomas 'PointedEars' Lahn  2008-07-21 03:28:43 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-25 00:46:00 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-25 18:28:06 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-25 18:30:42 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-20 13:40:29 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-20 11:36:48 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-20 23:02:34 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-20 17:09:03 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-08-30 15:27:52 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-08-30 20:33:34 
Re: addEvent - The late entry :)
kangax <kangax@[EMAIL   2008-07-20 21:20:28 
Re: addEvent - The late entry :)
jdalton <John.David.Da  2008-07-20 22:46:59 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-21 22:37:35 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-22 01:36:52 
Re: addEvent - The late entry :)
kangax <kangax@[EMAIL   2008-07-21 17:58:43 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-24 01:44:03 
Re: addEvent - The late entry :)
Lasse Reichstein Nielsen   2008-07-22 03:33:51 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-22 08:46:35 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-21 21:47:30 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-22 08:46:40 
Re: addEvent - The late entry :)
RobG <rgqld@[EMAIL PRO  2008-07-21 23:34:03 
Re: addEvent - The late entry :)
RobG <rgqld@[EMAIL PRO  2008-07-21 23:40:09 
Re: addEvent - The late entry :)
Jorge <jorge@[EMAIL PR  2008-07-23 18:32:54 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-26 16:18:58 
Re: addEvent - The late entry :)
kangax <kangax@[EMAIL   2008-07-23 18:46:05 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-26 16:18:53 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-25 01:45:13 
Re: addEvent - The late entry :)
Jorge <jorge@[EMAIL PR  2008-07-26 10:15:22 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-27 22:53:48 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-26 17:07:57 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-26 17:11:38 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-27 22:53:43 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-26 17:19:52 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-27 22:53:53 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-27 00:04:12 
Re: addEvent - The late entry :)
Jorge <jorge@[EMAIL PR  2008-07-27 15:21:49 
Re: addEvent - The late entry :)
"Richard Cornford&qu  2008-07-27 23:48:51 
Re: addEvent - The late entry :)
Jorge <jorge@[EMAIL PR  2008-07-27 15:30:52 
Re: addEvent - The late entry :)
Jorge <jorge@[EMAIL PR  2008-07-27 15:40:27 
Re: addEvent - The late entry :)
Jorge <jorge@[EMAIL PR  2008-07-27 15:49:42 
Re: addEvent - The late entry :)
Jorge <jorge@[EMAIL PR  2008-07-27 16:07:34 
Re: addEvent - The late entry :)
dhtml <dhtmlkitchen@[E  2008-07-27 21:32:03 
Re: addEvent - The late entry :)
Peter Michaux <petermi  2008-07-20 10:37:06 
Re: addEvent - The late entry :)
Thomas 'PointedEars' Lahn  2008-07-21 02:57:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 11:23:34 CST 2008.