How-to-write-jquery-plugin

How to write jQuery plugin? by alfred sang

View project onGitHub

How-to-write-jQuery-plugin ?

如何编写jQuery插件,以及代码重构过程

目录

  • src 源文件
  • examples 示例
  • build 指src里md文件build成pdf和epub之类格式的输出物的目录

教程

  • src/jquery.plugin.md

编译

bundle install
rake build

then open build/jquery.plugin.html

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

版本历史

  • v0.1.0 初始化版本
  • v0.1.1 增加grunt部分说明

作者

License

this gem is released under the MIT License.