Created
September 25, 2017 14:15
-
-
Save CamJN/b059ab90757f5205790572eaf22170a0 to your computer and use it in GitHub Desktop.
indentation test case
This file contains 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
function s(action) { | |
switch(action.type) { | |
case SUBSCRIBE: | |
// TODO some comment here | |
// another line here | |
// line ending with a period . | |
resource = action.resourceDescription.resource; | |
return 0; | |
case UNSUBSCRIBE: | |
return 1; | |
default: | |
return 2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment