0
comment
on 7/30/2010 12:48 AM
The jQuery approach is to avoid object orientation. This is an excellent way of avoiding bloat for small javascript hacks. If you’re starting to build javascript heavy applications then you might need to start organizing your code. The first thing you should learn is how to write jQuery plugins. Later on you will need to learn some simple object orientation. Here’s how: function TigerType(name){ var that = this; this.name = name; this.sound = "growl!"; this.roar = function(){ return that.sound; };[...]
>> 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