Since you're talking about modifying the core jQuery file itself, you might want to pose the question on the jquery-dev Google Group instead.

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Sep 17, 2009, at 9:49 AM, Nico wrote:


I just try a little change in jQuery source code, that made it well,
and I met no bugs :

In the jQuery.fn.init method, I just added the line :

this.constructor = jQuery;


This way, all jQuery objects have a "constructor" property and it
equals jQuery


Any arguments against this ?


Nico

Reply via email to