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.tabs.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.tabs.js')
-rw-r--r-- | ui/jquery.ui.tabs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 95113fc57..fb384e563 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -162,7 +162,7 @@ $.widget( "ui.tabs", { }, _sanitizeSelector: function( hash ) { - return hash ? hash.replace( /[!"$%&'()*+,.\/:;<=>?@[\]^`{|}~]/g, "\\$&" ) : ""; + return hash ? hash.replace( /[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&" ) : ""; }, refresh: function() { @@ -841,7 +841,7 @@ if ( $.uiBackCompat !== false ) { _tabId: function( a ) { return $( a ).attr( "aria-controls" ) || - a.title && a.title.replace( /\s/g, "_" ).replace( /[^\w\u00c0-\uFFFF-]/g, "" ) || + a.title && a.title.replace( /\s/g, "_" ).replace( /[^\w\u00c0-\uFFFF\-]/g, "" ) || this.options.idPrefix + getNextTabId(); } }); |