Created
February 21, 2016 18:44
-
-
Save jslegers/7bed8b5d7e1a1ab88a22 to your computer and use it in GitHub Desktop.
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
var helper = {}; | |
helper.string = { | |
contains : function (haystack, needle) { | |
return !!~haystack.indexOf(needle); | |
}, | |
... | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment