mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
Use 'Array.prototype.forEach' instead of '_.each' and '_.forEach'
This commit is contained in:
parent
d87fd095c0
commit
bd8009386d
19 changed files with 74 additions and 82 deletions
|
@ -93,7 +93,7 @@ var Command = Backbone.Model.extend({
|
|||
|
||||
deleteOptions: function(options) {
|
||||
var map = this.getOptionsMap();
|
||||
_.each(options, function(option) {
|
||||
options.forEach(function(option) {
|
||||
delete map[option];
|
||||
}, this);
|
||||
this.setOptionsMap(map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue