diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-01-27 18:11:57 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-01-27 18:11:57 +0000 |
commit | 0923066abbceda1f23cefca26ae33046163c6298 (patch) | |
tree | b70316f9382249ede87164d4c1c5d2c756f14788 /ui/jquery.ui.core.js | |
parent | 713608cd428caf238c30cce73f00695675385843 (diff) | |
download | jquery-ui-0923066abbceda1f23cefca26ae33046163c6298.tar.gz jquery-ui-0923066abbceda1f23cefca26ae33046163c6298.zip |
removing Firefox 2 AIRA extras, FF2 isn't usable in that regard anyway
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r-- | ui/jquery.ui.core.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index 28cf9075b..934210348 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -101,37 +101,6 @@ $.ui = { } }; -// WAI-ARIA normalization -if (isFF2) { - var attr = $.attr, - removeAttr = $.fn.removeAttr, - ariaNS = "http://www.w3.org/2005/07/aaa", - ariaState = /^aria-/, - ariaRole = /^wairole:/; - - $.attr = function(elem, name, value) { - var set = value !== undefined; - - return (name == 'role' - ? (set - ? attr.call(this, elem, name, "wairole:" + value) - : (attr.apply(this, arguments) || "").replace(ariaRole, "")) - : (ariaState.test(name) - ? (set - ? elem.setAttributeNS(ariaNS, - name.replace(ariaState, "aaa:"), value) - : attr.call(this, elem, name.replace(ariaState, "aaa:"))) - : attr.apply(this, arguments))); - }; - - $.fn.removeAttr = function(name) { - return (ariaState.test(name) - ? this.each(function() { - this.removeAttributeNS(ariaNS, name.replace(ariaState, "")); - }) : removeAttr.call(this, name)); - }; -} - //jQuery plugins $.fn.extend({ _focus: $.fn.focus, |