Created
June 7, 2011 20:53
-
-
Save tamzinblake/1013135 to your computer and use it in GitHub Desktop.
How errors pop out in my js-mode
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
// Showing how errors pop out in my js-mode standard indenting: | |
// (https://github.com/thomblake/js-mode) | |
// (courtesy of https://gist.github.com/357981 for the excellent examples) | |
// error in standard style | |
var a = "ape", | |
b = "bat", | |
c = "cat", | |
d = "dog" | |
e = "elf", | |
f = "fly", | |
g = "gnu", | |
h = "hat", | |
i = "ibu"; | |
// error in comma-first style | |
var a = "ape" | |
, b = "bat" | |
, c = "cat" | |
, d = "dog" | |
e = "elf" | |
, f = "fly" | |
, g = "gnu" | |
, h = "hat" | |
, i = "ibu" | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment