pavelk2 / social-feed

JavaScript plugin that shows a user feed from the most popular social networks
http://pavelk2.github.io/social-feed-example/
MIT License
960 stars 303 forks source link

Fixed jquery-socialfeed.js to allow jQuery object chaining. #126

Closed michaelborn closed 9 years ago

michaelborn commented 9 years ago

It now returns $(this).each(), per the accepted standard for jQuery plugins.

See: http://javascriptplayground.com/blog/2012/04/a-jquery-plugin-with-grunt-qunit/ http://learn.jquery.com/plugins/basic-plugin-creation/#chaining