Skip to content

Commit

Permalink
Update mapObject to mapValues in pkg.js (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuhlmueller authored and null-a committed Mar 27, 2017
1 parent 9197bd9 commit 5fd6417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var load = function(pkg) {
// expression which can be transformed by the browserify plugin.

var stringify = function(obj) {
var kvs = _.chain(obj).mapObject(function(val, key) {
var kvs = _.chain(obj).mapValues(function(val, key) {
if (_.isArray(val)) {
return stringifyArray(val, wrappers[key]);
} else if (_.isBoolean(val)) {
Expand Down

0 comments on commit 5fd6417

Please sign in to comment.