jQuery plugin authoring in CoffeeScript, with conventionally “private” objects and “prototype” calls
问题 Background So, I came across an article Essential jQuery Plugin Patterns a few months ago. I was trying to write a simple jQuery plugin and I found this article very useful. It contains a lot of information, most of which is beyond my expertise of JavaScript or jQuery. The main thing of interest was the first plugin template, dubbed jQuery Lightweight Plugin Boilerplate , which I referenced in another question a few months ago. Recently, I started using CoffeeScript and looked up for a