Skip to content

Commit

Permalink
Merge pull request #59 from QuickCorp/v2.3
Browse files Browse the repository at this point in the history
allow to register multiple widgets
  • Loading branch information
jeanmachuca committed Apr 23, 2021
2 parents 941af83 + 5482500 commit 436615c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -3213,7 +3213,7 @@
};
Export(_ComponentWidget_);
var RegisterWidget = function (widgetName){
customElements.define(widgetName,_ComponentWidget_);
customElements.define(widgetName,class extends _ComponentWidget_ {});
};
var RegisterWidgets = function (){
var widgetList = [...arguments].slice(1);
Expand Down Expand Up @@ -3735,7 +3735,7 @@
} else {
// if this is an object with a done method
if (typeof this !== "undefined"
&& this !== null
&& this !== null
&& this.hasOwnProperty.call(this,"done") &&
(typeof this.done).toLowerCase() === "function") {
this.done.call(this);
Expand Down

0 comments on commit 436615c

Please sign in to comment.