Skip to content

Instantly share code, notes, and snippets.

@othree
Created May 21, 2013 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save othree/5618986 to your computer and use it in GitHub Desktop.
Save othree/5618986 to your computer and use it in GitHub Desktop.
(function (a) {
a.fn.extend({
xxMethod: function (options) {
return this.each(function () {
var b = a(this);
a(b).each(function () {
//blah...
});
});
}
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment