pull/1998/head
Richard Harris 7 years ago
parent ac4e1235b1
commit a9ff0ee022

@ -1,5 +1,4 @@
import isVoidElementName from '../../utils/isVoidElementName'; import isVoidElementName from '../../utils/isVoidElementName';
import { quotePropIfNecessary } from '../../utils/quoteIfNecessary';
import Node from './shared/Node'; import Node from './shared/Node';
import Attribute from './Attribute'; import Attribute from './Attribute';
import Binding from './Binding'; import Binding from './Binding';
@ -77,7 +76,7 @@ const passiveEvents = new Set([
export default class Element extends Node { export default class Element extends Node {
type: 'Element'; type: 'Element';
name: string; name: string;
scope: any; // TODO scope: TemplateScope;
attributes: Attribute[] = []; attributes: Attribute[] = [];
actions: Action[] = []; actions: Action[] = [];
bindings: Binding[] = []; bindings: Binding[] = [];
@ -89,7 +88,6 @@ export default class Element extends Node {
animation?: Animation = null; animation?: Animation = null;
children: Node[]; children: Node[];
namespace: string; namespace: string;
scope: TemplateScope;
constructor(component, parent, scope, info: any) { constructor(component, parent, scope, info: any) {
super(component, parent, scope, info); super(component, parent, scope, info);

Loading…
Cancel
Save