refactor(ProtoView): use const for DOM.addClass
`DOM.addClass(insertionElement, 'ng-binding');` -> `DOM.addClass(insertionElement, NG_BINDING_CLASS);` Closes #676
This commit is contained in:
parent
cf51057cdd
commit
40d0505782
|
@ -535,7 +535,7 @@ export class ProtoView {
|
|||
shadowDomStrategy: ShadowDomStrategy
|
||||
): ProtoView {
|
||||
|
||||
DOM.addClass(insertionElement, 'ng-binding');
|
||||
DOM.addClass(insertionElement, NG_BINDING_CLASS);
|
||||
var rootProtoView = new ProtoView(insertionElement, protoChangeDetector, shadowDomStrategy);
|
||||
rootProtoView.instantiateInPlace = true;
|
||||
var binder = rootProtoView.bindElement(
|
||||
|
|
Loading…
Reference in New Issue