Created
December 5, 2015 12:30
-
-
Save falkolab/6642c5e0b1fb7c877323 to your computer and use it in GitHub Desktop.
underscore string mixin
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
//******** underscore.string *********** | |
var _ = require("alloy/underscore")._; | |
// Import Underscore.string to separate object, | |
// because there are conflict functions (include, reverse, contains) | |
_.str = require('underscore.string'); | |
// Mix in non-conflict functions to Underscore namespace if you want | |
_.mixin(_.str.exports()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment