¡@

Home 

2014/10/16 ¤W¤È 12:06:25

jquery Programming Glossary: plugin_name

jQuery plugin template - best practice, convention, performance and memory impact

http://stackoverflow.com/questions/5980194/jquery-plugin-template-best-practice-convention-performance-and-memory-impac

performance and be prone to memory issues. function var PLUGIN_NAME myPlugin TODO Plugin name goes here. var DEFAULT_OPTIONS TODO.. Internal.prototype.getData function if this. elem.data PLUGIN_NAME this. elem.data PLUGIN_NAME id pluginInstanceIdCount initialised.. function if this. elem.data PLUGIN_NAME this. elem.data PLUGIN_NAME id pluginInstanceIdCount initialised false return this...

jQuery plugin template - best practice, convention, performance and memory impact

http://stackoverflow.com/questions/5980194/jquery-plugin-template-best-practice-convention-performance-and-memory-impac

internal methods or even its general design would impact performance and be prone to memory issues. function var PLUGIN_NAME myPlugin TODO Plugin name goes here. var DEFAULT_OPTIONS TODO Default options for plugin. var pluginInstanceIdCount 0 var.. the ID for this plugin instance if this is a new instance. Internal.prototype.getData function if this. elem.data PLUGIN_NAME this. elem.data PLUGIN_NAME id pluginInstanceIdCount initialised false return this. elem.data PLUGIN_NAME TODO Add.. if this is a new instance. Internal.prototype.getData function if this. elem.data PLUGIN_NAME this. elem.data PLUGIN_NAME id pluginInstanceIdCount initialised false return this. elem.data PLUGIN_NAME TODO Add additional internal methods..