Skip to content

Commit

Permalink
Merge pull request #64 from QuickCorp/v2.3
Browse files Browse the repository at this point in the history
fix a bug in RegisterWidgets
  • Loading branch information
jeanmachuca committed Apr 25, 2021
2 parents 7917e78 + a4bb8a8 commit ded8bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -3268,7 +3268,7 @@
customElements.define(widgetName,class extends _ComponentWidget_ {});
};
var RegisterWidgets = function (){
var widgetList = [...arguments].slice(1);
var widgetList = [...arguments];
widgetList.filter(function (widgetName){return typeof widgetName === "string";}).map(function (widgetName){
RegisterWidget(widgetName);
});
Expand Down

0 comments on commit ded8bf7

Please sign in to comment.