mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
Replace '_.map' to 'Array.prototype.map'
This commit is contained in:
parent
0134bf9870
commit
7af2db3da5
5 changed files with 11 additions and 11 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue