chocola 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/index.js +2 -0
- package/package.json +1 -1
package/compiler/index.js
CHANGED
|
@@ -120,6 +120,8 @@ export default async function runtime(__rootdir) {
|
|
|
120
120
|
const tagName = el.tagName.toLowerCase();
|
|
121
121
|
const compName = tagName + ".js";
|
|
122
122
|
|
|
123
|
+
if (!loadedComponents[compName]) return;
|
|
124
|
+
|
|
123
125
|
const ctx = {};
|
|
124
126
|
for (const attr of el.attributes) {
|
|
125
127
|
if (attr.name.startsWith("ctx.")) {
|