Skip to main content

John-David Dalton

Member since Aug 22, 2012

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel