Skip to content

Instantly share code, notes, and snippets.

View chadsten's full-sized avatar
💭
Facepalming at my own terrible code since 2005

Chadsten chadsten

💭
Facepalming at my own terrible code since 2005
  • Colorado
View GitHub Profile
@chadsten
chadsten / 0_reuse_code.js
Created February 26, 2014 15:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/**
* @file
* A JavaScript file for the theme.
*
* In order for this JavaScript to be loaded on pages, see the instructions in
* the README.txt next to this file.
*/
// JavaScript should be made compatible with libraries other than jQuery by
// wrapping it with an "anonymous closure". See: