Skip to content
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

Commit fcd9daf

Browse files
committed
use Object.assign
1 parent f1765c4 commit fcd9daf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/views/base-view.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ var BaseView = function BaseView(options) {
1414
options.parent.screen.on("resize", this._boundRecalculatePosition);
1515

1616
this.parent = options.parent;
17-
this.layoutConfig = _.assign(this.getDefaultLayoutConfig(options), options.layoutConfig.view);
17+
this.layoutConfig = Object.assign(
18+
this.getDefaultLayoutConfig(options),
19+
options.layoutConfig.view);
1820
};
1921

2022
BaseView.prototype.getDefaultLayoutConfig = function () {

0 commit comments

Comments
 (0)