Skip to content

Instantly share code, notes, and snippets.

@adamwiggall
Created June 21, 2011 20:09
Show Gist options
  • Save adamwiggall/1038763 to your computer and use it in GitHub Desktop.
Save adamwiggall/1038763 to your computer and use it in GitHub Desktop.
myNamespace.worldPeace = function() {
var worldProblems = document.getElementById('big_problems');
// if we don't have any problems just return
if (!worldProblems.length) return;
// if we got this far we have some solving to do
// so write some great code and restore peace to the world!
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment