Cleaned up code and fixed an issue with the gulp file where dev was still minifying js. Added reflected properties support and fixed a few other issues.

This commit is contained in:
2020-08-23 11:50:31 -07:00
parent d4df41e427
commit f4ac568976
7 changed files with 151 additions and 45 deletions

View File

@@ -106,7 +106,7 @@ class IgniteElement extends HTMLElement {
if (renderTemplate !== this.template && renderTemplate) {
this.template.child(renderTemplate);
} else if (!renderTemplate) {
console.warn(`RenderTemplate was null for element: ${this.tagName}, is render() returning null or not returning anything?`);
throw `RenderTemplate was null for template: ${this.tagName}. Is render() returning null or not returning a template?`;
}
//Construct our template.