Pass individual parameters

This commit is contained in:
nathangray 2020-01-21 07:43:04 -07:00 committed by Hadi Nategh
parent 7576742cbc
commit 2377ec2090
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ var et2_box = /** @class */ (function (_super) {
* @memberOf et2_box
*/
function et2_box(_parent, _attrs, _child) {
var _this = _super.call(this, arguments) || this;
var _this = _super.call(this, _parent, _attrs, _child) || this;
_this.createNamespace = true;
_this.div = jQuery(document.createElement("div"))
.addClass("et2_" + _this.getType())

View File

@ -47,7 +47,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM
*/
constructor(_parent, _attrs? : WidgetConfig, _child? : object)
{
super(arguments);
super(_parent, _attrs, _child);
this.div = jQuery(document.createElement("div"))
.addClass("et2_" + this.getType())