Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 86de17c

Browse files
rkirovchirayuk
authored andcommitted
fix(benchmark): typo in element tag names
Doesn't affect the benchmark times, because tag name is used outside angular template. Closes #1220
1 parent c5e2ed9 commit 86de17c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

benchmark/web/tree.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class NgFreeTree implements ShadowRootAware {
5454
}
5555

5656
Element newFreeTree(tree) {
57-
var elt = new Element.tag('ng-fre-tree');
57+
var elt = new Element.tag('ng-free-tree');
5858
var root = elt.createShadowRoot();
5959

6060
var s = new SpanElement();
@@ -75,7 +75,7 @@ class NgFreeTree implements ShadowRootAware {
7575
}
7676

7777
updateElement(root, tree) {
78-
// Not quite acurate
78+
// Not quite accurate
7979
root.innerHtml = '';
8080
root.append(newFreeTree(tree));
8181
}
@@ -114,7 +114,7 @@ class NgFreeTreeScoped implements ShadowRootAware {
114114
}
115115

116116
Element newFreeTree(parentScope, treeExpr) {
117-
var elt = new Element.tag('ng-fre-tree');
117+
var elt = new Element.tag('ng-free-tree-scoped');
118118
var root = elt.createShadowRoot();
119119
var scope = parentScope.createChild({});
120120

@@ -147,7 +147,7 @@ class NgFreeTreeScoped implements ShadowRootAware {
147147

148148
Scope treeScope;
149149
updateElement(root, tree) {
150-
// Not quite acurate
150+
// Not quite accurate
151151
if (treeScope != null) {
152152
treeScope.destroy();
153153
}
@@ -178,7 +178,7 @@ class FreeTreeClass {
178178
}
179179

180180
Element element() {
181-
var elt = new Element.tag('ng-fre-tree');
181+
var elt = new Element.tag('ng-free-tree');
182182
var root = elt.createShadowRoot();
183183
var scope = parentScope.createChild(this);
184184

@@ -232,7 +232,7 @@ class NgFreeTreeClass implements ShadowRootAware {
232232

233233
var treeScope;
234234
updateElement(root, tree) {
235-
// Not quite acurate
235+
// Not quite accurate
236236
if (treeScope != null) {
237237
treeScope.destroy();
238238
}

0 commit comments

Comments
 (0)