From e3474bb5cbbb3d4dee8bdd4ebcf50d4f12165dc7 Mon Sep 17 00:00:00 2001 From: StrahilKazlachev Date: Sun, 8 Oct 2017 11:39:49 +0300 Subject: [PATCH] fix(view-engine): define metadata for SlotCustomAttribute fix #566 --- src/view-engine.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view-engine.js b/src/view-engine.js index 2ae73c56..dda5dcf6 100644 --- a/src/view-engine.js +++ b/src/view-engine.js @@ -75,6 +75,7 @@ export class ViewEngine { let auSlotBehavior = new HtmlBehaviorResource(); auSlotBehavior.attributeName = 'au-slot'; + metadata.define(metadata.resource, auSlotBehavior, SlotCustomAttribute); auSlotBehavior.initialize(container, SlotCustomAttribute); auSlotBehavior.register(appResources); }