Created
July 26, 2012 18:54
-
-
Save Akkuma/3183800 to your computer and use it in GitHub Desktop.
520 Style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Comma first, used by both Isaac Z. Schlueter and TJ Holowaychuk | |
//modified with the opening bracket on the same line as declaration | |
//Variable assignment and object property value right aligned | |
var objectStyle = { | |
property1 : 'test' | |
, prop2 : 3 | |
, property : 4 | |
}; | |
var variablesAlignment = 1 | |
, anotherTest = 'some string' | |
, varA = 'Another string' | |
; | |
//Indent chains to meet the 120 character limit | |
var scenarioData = gaas.models.scenario | |
.get( | |
scenario | |
, gaas.models.scenario.editLevel.site | |
, GLOBAL.util.extend(scenario, {useCache: true}) | |
) | |
.data; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment