Replace _.result use with _.get.

This commit is contained in:
John-David Dalton
2016-06-11 20:56:26 -07:00
parent 9a1b3d813a
commit 4a0610f107
5 changed files with 15 additions and 15 deletions

View File

@@ -83,7 +83,7 @@ function isThru(name) {
*/
function getTemplate(moduleName) {
var data = {
'name': _.result(mapping.aliasToReal, moduleName, moduleName),
'name': _.get(mapping.aliasToReal, moduleName, moduleName),
'mapping': mapping
};