From c08bfba9e777aa598d882a3546ebcb53da40f19a Mon Sep 17 00:00:00 2001 From: Joris Tirado Date: Mon, 14 Aug 2017 17:22:29 -0700 Subject: [PATCH] UI-2866: Migrate from underscore to lodash (#3) * UI-2866: Reference lodash intead of underscore following migration * UI-2866: Migrate underscore specific utils to lodash --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 9c343a8..c4ce665 100644 --- a/app.js +++ b/app.js @@ -1,6 +1,6 @@ define(function(require) { var $ = require('jquery'), - _ = require('underscore'), + _ = require('lodash'), monster = require('monster'), chosen = require('chosen'), toastr = require('toastr'); @@ -46,7 +46,7 @@ define(function(require) { var self = this; self.getFaxData(function(results) { - self.appFlags.faxboxes = _.indexBy(results.faxboxes, 'id'); + self.appFlags.faxboxes = _.keyBy(results.faxboxes, 'id'); var menus = [ {