1 | ;
|
2 | /**
|
3 | * @license
|
4 | * Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
5 | * This code may only be used under the BSD style license found at
|
6 | * http://polymer.github.io/LICENSE.txt
|
7 | * The complete set of authors may be found at
|
8 | * http://polymer.github.io/AUTHORS.txt
|
9 | * The complete set of contributors may be found at
|
10 | * http://polymer.github.io/CONTRIBUTORS.txt
|
11 | * Code distributed by Google as part of the polymer project is also
|
12 | * subject to an additional IP rights grant found at
|
13 | * http://polymer.github.io/PATENTS.txt
|
14 | */
|
15 | Object.defineProperty(exports, "__esModule", { value: true });
|
16 | const model_1 = require("./model");
|
17 | class ScannedElementMixin extends model_1.ScannedElementBase {
|
18 | constructor({ name }) {
|
19 | super();
|
20 | this.abstract = false;
|
21 | this.name = name;
|
22 | }
|
23 | resolve(document) {
|
24 | return new ElementMixin(this, document);
|
25 | }
|
26 | }
|
27 | exports.ScannedElementMixin = ScannedElementMixin;
|
28 | class ElementMixin extends model_1.ElementBase {
|
29 | constructor(init, document) {
|
30 | super(init, document);
|
31 | this.kinds.add('element-mixin');
|
32 | this.name = init.name;
|
33 | }
|
34 | }
|
35 | exports.ElementMixin = ElementMixin;
|
36 | //# sourceMappingURL=element-mixin.js.map |
\ | No newline at end of file |