elado/lodash-bound

View on GitHub
scripts/method.ejs

Summary

Maintainability
Test Coverage
'use strict';

var fn = require('lodash/<%= name %>');

module.exports = function <%= name %>() {
  return fn.apply(undefined, [this].concat(Array.prototype.slice.apply(arguments)));
};