Browse Source

Ooh! That's spiffy.

Douglas William Thrift 13 years ago
parent
commit
bbefe5d27e
1 changed files with 1 additions and 4 deletions
  1. 1 4
      bootstrap.js

+ 1 - 4
bootstrap.js

@@ -112,10 +112,7 @@ let observer = {
 
         completions.sort(function(one, two)
         {
-            [one, two] = [one, two].map(function(string)
-            {
-                return string.toLowerCase();
-            });
+            [one, two] = [string.toLowerCase() for each (string in [one, two])];
 
             if (one < two)
                 return -1;