代码改变世界

随笔档案-2015年11月

Advanced Plugin Concepts

2015-11-13 17:10 by Spring.Guo, 162 阅读, 收藏,
摘要: Provide Public Access to Default Plugin Settings An improvement we can, and should, make to the code above is to expose the default plugin settings. This is important because it makes it very easy for... 阅读全文

How to Create a Basic Plugin

2015-11-13 17:04 by Spring.Guo, 271 阅读, 收藏,
摘要: Sometimes you want to make a piece of functionality available throughout your code. For example, perhaps you want a single method you can call on a jQuery selection that performs a series of operation... 阅读全文