0
comment
on 4/8/2009 3:17 PM
I’ve come to admire the simplicity and style of jquery. There are some cons to it’s approach of using context (as can be seen as this in the for instance “each”): jQuery("#table tr").each(function(){ jQuery(this).DoStuffPlugin(); }); This wreaks havoc with some object oriented programming techniques: var classSmurf = function(){ this.name = "smurfette"; this.SmurfAround = function(){ alert("Smurf: "+this.name); } }; This is a simplified example that is broken by jquery’s use of context. T[...]
>> Read the full article on assertfail.gewalli.se
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper