OLD | NEW |
1 (function(window, document) { | 1 (function(window, document) { |
2 // <app-route path="/path" [import="/page/cust-el.html"] [element="cust-el"] [
template]></app-route> | 2 // <app-route path="/path" [import="/page/cust-el.html"] [element="cust-el"] [
template]></app-route> |
3 document.registerElement('app-route', { | 3 document.registerElement('app-route', { |
4 prototype: Object.create(HTMLElement.prototype) | 4 prototype: Object.create(HTMLElement.prototype) |
5 }); | 5 }); |
6 | 6 |
7 // <active-route></active-route> holds the active route's content when `shadow
` is not enabled | 7 // <active-route></active-route> holds the active route's content when `shadow
` is not enabled |
8 document.registerElement('active-route', { | 8 document.registerElement('active-route', { |
9 prototype: Object.create(HTMLElement.prototype) | 9 prototype: Object.create(HTMLElement.prototype) |
10 }); | 10 }); |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 } | 397 } |
398 } | 398 } |
399 | 399 |
400 return args; | 400 return args; |
401 }; | 401 }; |
402 | 402 |
403 document.registerElement('app-router', { | 403 document.registerElement('app-router', { |
404 prototype: router | 404 prototype: router |
405 }); | 405 }); |
406 })(window, document); | 406 })(window, document); |
OLD | NEW |