- commit
- d3527e77f3e0d16ba7fa27da0fe63712f2528f4a
- parent
- 37a7b1581e8f4c5cbb78021371cacc60dd24902e
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2015-09-10 12:36
fix phonecate example sorting
Diffstat
| M | examples/phonecat/phonecat.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/phonecat/phonecat.js b/examples/phonecat/phonecat.js
@@ -27,7 +27,7 @@ require(['xhr', 'muu'], function(xhr, muu) {
27 27 return phone.name.toLowerCase().match(query);
28 28 })
29 29 .sort(function(a, b) {
30 -1 return a[orderProp] > b[orderProp];
-1 30 return a[orderProp] > b[orderProp] ? 1 : -1;
31 31 })
32 32 });
33 33 });