Skip to content

Instantly share code, notes, and snippets.

@huckfinnaafb
Forked from btleffler/gist:1594642
Created January 11, 2012 22:38
Show Gist options
  • Save huckfinnaafb/1597207 to your computer and use it in GitHub Desktop.
Save huckfinnaafb/1597207 to your computer and use it in GitHub Desktop.
function (very, good, parameters) {
// Line up our variables
var foo,
string_var= "lol",
bar,
object = new Constructor();
// Four space indent
if (condition) {
foo = bar;
}
// Single return statement
return value;
}
function ( the, spaces, make, the, difference ) {
// Informative post, you can tell by the extra linebreak ^
elegant.coad[ "means-add-a-ton-of-whitespace" ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment