Created
April 29, 2016 09:23
-
-
Save basz/5769d37573483bedf052041e95169df9 to your computer and use it in GitHub Desktop.
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
| _getFormatter: (format) => { | |
| let formatter = this.getWithDefault(`converters.${format}`, false); | |
| if (false === formatter) { | |
| throw `unknown formatter`; | |
| } | |
| return formatter; | |
| }, |
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
| _getFormatter: function _getFormatter(format) { | |
| var formatter = _this.getWithDefault('converters.' + format, false); | |
| if (false === formatter) { | |
| throw 'unknown formatter'; | |
| } | |
| return formatter; | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment