generator-modx-package
Version:
A yeoman generator for MODX Revolution packages.
17 lines (13 loc) • 319 B
JavaScript
var _ = require('lodash');
_.str = require('underscore.string');
/**
* Mix in non-conflicting functions to underscore namespace and generators.
*
* ### Examples:
*
* this._.humanize('stuff-dash');
* this._.classify('hello-model');
*/
_.mixin(_.str.exports());
// and expose that
module.exports._ = _;