Created
May 18, 2016 14:34
-
-
Save thatkookooguy/e83fc7a3dbfedcc598e6a5b221d685ad to your computer and use it in GitHub Desktop.
if this doesn't work, tell me
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
angular.module('Kibibit', []) | |
.constant('TYPE_ERROR_MSGS', function(varName, typeExpected, typeRecieved) { | |
return [varName, | |
" should be a ", | |
typeExpected, | |
" but was given a ", | |
typeRecieved].join(''); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment