mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-02 17:15:24 +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
|
@ -173,7 +173,7 @@ var CommandPromptView = Backbone.View.extend({
|
|||
which.reverse();
|
||||
|
||||
var str = '';
|
||||
_.each(which, function(text) {
|
||||
which.forEach(function(text) {
|
||||
str += text + ';';
|
||||
}, this);
|
||||
|
||||
|
@ -202,4 +202,3 @@ var CommandPromptView = Backbone.View.extend({
|
|||
});
|
||||
|
||||
exports.CommandPromptView = CommandPromptView;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue