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: jQuery Quer...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 21 Topic 36376 of 37128
Post > Topic >>

Re: jQuery Query about comparing jQuery references

by Thomas 'PointedEars' Lahn <PointedEars@[EMAIL PROTECTED] > Jul 26, 2008 at 04:25 AM

dhtml wrote:
> Thomas 'PointedEars' Lahn wrote:
>> dhtml wrote:
>>> On Jul 25, 3:48 pm, "Aaron Gray" <ang.use...@[EMAIL PROTECTED]
> wrote:
>>>> "Thomas 'PointedEars' Lahn" <PointedE...@[EMAIL PROTECTED]
> wrote:
>>> How about the window object in MSIE?
>> Maybe you should search the archives before you post an argument.
> 
>
http://groups.google.com/group/comp.lang.javascript/search?group=comp.lang.javascript&q=window+reference+msie&qt_g=Search+this+group
> 
> ?
> 
> Maybe you should post up a relevant link.

Maybe you should learn how to search using appropriate keywords.

>> I did not suggest the cause of a perceived inequality was a bug.  In
fact,
>> the behavior observed here is standards compliant regarding the equals
>> operation.
> 
> Only if it can it be proven that there are two different window
> references. How can it be proven?

I do not think it can, but you miss the point.  In your test case you have
assigned a Function object reference to the `foo' property of the object
referred to by the `window' property of an object in the scope chain. 
Then
you call a foo() function as the method of an object in the scope chain.

It is not logical to assume that you would be calling the same method on
the
same object, and it is therefore not logical to assume that `window' and
`this' in the method's local execution context refer to the same object.
And as we are dealing with host objects here, it would also appear not to
be
possible to determine (this way) whether or not the perceived inequality
is
an indication of an actual non-identity.


PointedEars
-- 
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
  -- from <http://www.vortex-webdesign.com/help/hidesource.htm>
 




 21 Posts in Topic:
jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 15:41:15 
Re: jQuery Query about comparing jQuery references
Henry <rcornford@[EMAI  2008-07-25 08:17:11 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 19:08:52 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-25 22:56:56 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 23:00:58 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 00:25:30 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 00:19:13 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 23:48:02 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-25 11:45:01 
Re: jQuery Query about comparing jQuery references
"Aaron Gray" &l  2008-07-25 20:38:31 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-25 16:50:30 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 03:17:53 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-25 18:39:34 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 04:25:49 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-26 00:23:39 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 13:01:51 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-26 10:25:29 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-26 21:32:17 
Re: jQuery Query about comparing jQuery references
dhtml <dhtmlkitchen@[E  2008-07-26 16:16:25 
Re: jQuery Query about comparing jQuery references
Thomas 'PointedEars' Lahn  2008-07-27 14:51:21 
Re: jQuery Query about comparing jQuery references
Lasse Reichstein Nielsen   2008-07-27 15:53:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Oct 10 14:54:29 CDT 2008.