mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
Replace '_.keys' to 'Object.prototype.keys'
This commit is contained in:
parent
dddf063146
commit
ce61c97cf0
3 changed files with 3 additions and 4 deletions
|
@ -89,7 +89,7 @@ AppConstants.StoreSubscribePrototype,
|
|||
},
|
||||
|
||||
getSequences: function() {
|
||||
return _.keys(levelSequences);
|
||||
return Object.keys(levelSequences);
|
||||
},
|
||||
|
||||
getLevelsInSequence: function(sequenceName) {
|
||||
|
|
|
@ -295,7 +295,7 @@ var MultiViewBuilder = ContainedBase.extend({
|
|||
|
||||
this.JSON = {
|
||||
views: this.getChildViews(),
|
||||
supportedViews: _.keys(this.typeToConstructor)
|
||||
supportedViews: Object.keys(this.typeToConstructor)
|
||||
};
|
||||
|
||||
this.container = new ModalTerminal({
|
||||
|
@ -416,4 +416,3 @@ exports.DemonstrationBuilder = DemonstrationBuilder;
|
|||
exports.TextGrabber = TextGrabber;
|
||||
exports.MultiViewBuilder = MultiViewBuilder;
|
||||
exports.MarkdownPresenter = MarkdownPresenter;
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ var InteractiveRebaseView = ContainedBase.extend({
|
|||
|
||||
render: function() {
|
||||
var json = {
|
||||
num: _.keys(this.rebaseMap).length,
|
||||
num: Object.keys(this.rebaseMap).length,
|
||||
solutionOrder: this.options.initialCommitOrdering
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue