Skip to content

Instantly share code, notes, and snippets.

@divoxx
Created February 18, 2011 00:16
Show Gist options
  • Select an option

  • Save divoxx/833024 to your computer and use it in GitHub Desktop.

Select an option

Save divoxx/833024 to your computer and use it in GitHub Desktop.
$.fn.foobar = function() {
console.log("foobar");
}
$(document).ready(function() {
$(".foobar").foobar();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment