Skip to content

Instantly share code, notes, and snippets.

@getify
Created May 26, 2010 21:14
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 getify/415073 to your computer and use it in GitHub Desktop.
Save getify/415073 to your computer and use it in GitHub Desktop.
var $ = function(fn) {
setTimeout(fn,2000);
};
$.foo = "yay";
$(function(){
alert($.foo); // which $ am I looking at?
});
$.foo = "cool";
$ = function(fn) {
alert("DOH!");
};
$.foo = "uhoh";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment