jQuery plugin code review
I'm looking for a code review of this plugin:
http://github.com/webandy/jquery-tweets
Goals:
1) testable
2) idiomatic javascript
3) flexible pattern I can reapply
I extracted an object and wrote tests against it with Qunit. I like this but now there is a TweetsPlugin global object so I'm looking for help on how to put this into the plugin namespace and still have it be accessible to the qunit test code.
I am aiming to develop a repeatable pattern I can apply to a number of other internal jquery plugins to make them more testable and better organized and maintainable. Thanks!