diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-04-04 10:52:41 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-04-04 11:02:08 +0200 |
commit | 79f1eea6dc874accae3447891783566337e97736 (patch) | |
tree | 7b198bbf9c56e0226bfd18c67f49c874437f15a9 /ui/jquery.ui.menu.js | |
parent | a5051924207365297ec7665df875cfefc39dc858 (diff) | |
download | jquery-ui-79f1eea6dc874accae3447891783566337e97736.tar.gz jquery-ui-79f1eea6dc874accae3447891783566337e97736.zip |
Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r-- | ui/jquery.ui.menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index af22c19b0..526789e9e 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -189,7 +189,7 @@ $.widget( "ui.menu", { character = prev + character; } function escape( value ) { - return value.replace( /[-[\]{}()*+?.,\\^$|#\s]/g , "\\$&" ); + return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"); } match = this.activeMenu.children( ".ui-menu-item" ).filter( function() { return new RegExp("^" + escape(character), "i") |