Skip to content

Commit

Permalink
lodash for isArray until we have a solid foundation for polyester
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoi committed Mar 9, 2015
1 parent 7fd9d15 commit dac5075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atomizer.js
Expand Up @@ -175,7 +175,7 @@ module.exports = {
* @return {object} An atomizer config object
*/
mergeConfigs: function (configs) {
return Array.isArray(configs) && configs.length > 0 ? _.merge.apply(null, configs.concat(utils.handleMergeArrays)) : {};
return _.isArray(configs) && configs.length > 0 ? _.merge.apply(null, configs.concat(utils.handleMergeArrays)) : {};
},

/**
Expand Down

0 comments on commit dac5075

Please sign in to comment.