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:
PatrickJS 2015-02-17 10:31:13 -08:00 committed by Misko Hevery
parent cf51057cdd
commit 40d0505782
1 changed files with 1 additions and 1 deletions

View File

@ -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(