Replace '_.keys' to 'Object.prototype.keys'

This commit is contained in:
Hongarc 2018-12-01 08:29:11 +07:00
parent dddf063146
commit ce61c97cf0
3 changed files with 3 additions and 4 deletions

View file

@ -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;