John-David Dalton
Member since Aug 22, 2012
- Profile: /members/10219-john-david-dalton.htm
- Comments: 4
Recent Blog Comments By John-David Dalton
-
The Philosophy Of Extending Lodash In JavaScript
Posted on Jun 8, 2015 at 9:47 AM
@Ben, > Or am I over-thinking it? Nope, you're right on!... read more »
-
The Philosophy Of Extending Lodash In JavaScript
Posted on Jun 5, 2015 at 3:33 PM
Yay for mixins! In node-land you can combo `_.mixin` with `_.runInContext` to ensure extension are added to a pristine lodash instance and not augmenting the `lodash` package itself: ```js var _ = require('lodash').runInContext(); _.mixin(...); ```... read more »
-
Creating And Extending A Lodash / Underscore Service In AngularJS
Posted on Jan 31, 2015 at 11:42 PM
Those functional fans will be happy to know lodash now offers lodash-fp for lodash with auto-curried iteratee-first methods. This way you get the quality, performance, & innovation lodash offers with the method signature you prefer - https://www.npmjs.com/package/lodash-fp... read more »
-
Using Underscore.js Templates To Render HTML Partials
Posted on Aug 22, 2012 at 1:24 AM
Hey Ben! If ya dig Underscore/Backbone you may dig Lo-Dash ( http://lodash.com ), a drop-in replacement for Underscore that's customizable. If ya only want the `_.template` method you can do `lodash include=template` to create a build with just `_.template`, or if you want to use Lo-Dash with Backbo... read more »