Skip to content

Instantly share code, notes, and snippets.

Created Dec 5, 2015
What would you like to do?
underscore string mixin
//******** 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment