Commits

Kazunori Ninomiya committed dec5a6a

Grammar amendment.

Comments (0)

Files changed (1)

             src = result[0].src;
           }
         }
-
-      default: /* FALLTHROUGH */
+        /* falls through */
+      default:
         src = removeInvalidFiles(src);
         break;
     }
 
   function quote(str)
   {
-    return (str + '').replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&');
+    return (str + '').replace(/[\-\\\^$*+?.()|\[\]{}]/g, '\\$&');
   }
 };