aboutsummaryrefslogtreecommitdiffstats
path: root/src/apis.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/apis.js')
-rw-r--r--src/apis.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apis.js b/src/apis.js
index 437cd6e0..6435affb 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -637,8 +637,9 @@ var angularArray = {
return 0;
}
function reverse(comp, descending) {
- return toBoolean(descending) ?
- function(a,b){return comp(b,a);} : comp;
+ return toBoolean(descending)
+ ? function(a,b){return comp(b,a);}
+ : comp;
}
function compare(v1, v2){
var t1 = typeof v1;