Replace '_.map' to 'Array.prototype.map'

This commit is contained in:
Hongarc 2018-12-01 08:20:42 +07:00
parent 0134bf9870
commit 7af2db3da5
5 changed files with 11 additions and 11 deletions

View file

@ -78,7 +78,7 @@ var Command = Backbone.Model.extend({
var generalArgs = this.getGeneralArgs();
var options = this.getOptionsMap();
generalArgs = _.map(generalArgs, function(arg) {
generalArgs = generalArgs.map(function(arg) {
return this.replaceDotWithHead(arg);
}, this);
var newMap = {};