torkiljohnsen/swipe — Issue #27: Improve OO model
Author: torkiljohnsen
Created: 2012-03-07 09:01:41+00:00
State: open

How to: http://jamietalbot.com/projects/js/jquery/encapsulatedPlugin.js.txt

The plugin generator plugin code: https://github.com/majelbstoat/Celsus/blob/master/js/modules/encapsulatedPlugin.js

As per this article: http://jamietalbot.com/2010/08/22/object-oriented-jquery-plugins/