Skip to content

Commit

Permalink
Merge pull request aurelia#567 from StrahilKazlachev/fix/slot-attribu…
Browse files Browse the repository at this point in the history
…te/missing-metadata

fix(view-engine): define metadata for SlotCustomAttribute
  • Loading branch information
EisenbergEffect authored Oct 14, 2017
2 parents 014c3cd + e3474bb commit c53f5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view-engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c53f5cf

Please sign in to comment.