aboutsummaryrefslogtreecommitdiffstats
path: root/scenario
diff options
context:
space:
mode:
authorMisko Hevery2010-05-31 00:58:29 -0700
committerMisko Hevery2010-05-31 00:58:29 -0700
commit6143b04384680d17f38c2d5894a9b9961ea33288 (patch)
tree244c0f72c1685da2db10f2bb2a2da49816829306 /scenario
parent81dac70e72430b7ab9a824ab923038c1e00e7003 (diff)
downloadangular.js-6143b04384680d17f38c2d5894a9b9961ea33288.tar.bz2
removed few key foreach and replaced thime with for loop for performance.
Diffstat (limited to 'scenario')
-rw-r--r--scenario/perf.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/scenario/perf.html b/scenario/perf.html
index e4edc00f..cd676918 100644
--- a/scenario/perf.html
+++ b/scenario/perf.html
@@ -24,7 +24,8 @@
<input type="text" name="text"/>
<hr/>
<ul>
- <li ng-repeat="item in items.$filter('').$orderBy('name')">
+ <li Xng-repeat="item in items.$filter('').$orderBy('name')"
+ ng-repeat="item in items">
{{item.name}} <a href="#{{item.name}}">{{item.parts.join(', ')}}</a>
</li>
</ul>