Last active
August 29, 2015 14:07
-
-
Save kryft/0b922450ee898fa33085 to your computer and use it in GitHub Desktop.
web-mode 20140927.1330 indentation for switch statements in .js files
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
//this is how the code gets indented in web-mode 20140927.1330 from melpa | |
eventStore.dispatchToken = dispatcher.register(function(payload) { | |
switch(payload.action.type) { | |
case actionTypes.REQUEST_EVENT_SUCCESS: | |
doSomething(); | |
break; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment