* Custom Elements V1 API. * @param {string} name * @param {!Function} klass
(name, klass)
| 706 | * @param {!Function} klass |
| 707 | */ |
| 708 | define(name, klass) { |
| 709 | if (this.elements[name]) { |
| 710 | throw new Error('custom element already defined: ' + name); |
| 711 | } |
| 712 | this.elements[name] = klass.prototype; |
| 713 | this.count++; |
| 714 | } |
| 715 | } |
| 716 | |
| 717 | export class FakeMutationObserver { |
no outgoing calls
no test coverage detected