KnockoutJS Mapping plugin to the rescue
I’ve been using KnockoutJS for a long time now, but only recently found the magic that is the Knockout-Mapping plugin. A few days ago, I spent some time refining some old code, and encountered something along the following lines: (The friendlyPastMoment() method is just a small wrapper method around MomentJS, for handling edge cases) We … Read more