Revision: 4788
Author:   [email protected]
Date:     Sun Feb 26 21:57:19 2012
Log:      support a.hash
http://codereview.appspot.com/5694073

jquery.ui.tabs expects <a> elements to have a .hash property, which
isn't in the html4 spec but is in html5, and it's supported by all
browsers that I tried (including ie6).

[email protected]

http://code.google.com/p/google-caja/source/detail?r=4788

Modified:
 /trunk/src/com/google/caja/plugin/domado.js

=======================================
--- /trunk/src/com/google/caja/plugin/domado.js Sat Feb 25 13:31:59 2012
+++ /trunk/src/com/google/caja/plugin/domado.js Sun Feb 26 21:57:19 2012
@@ -3380,6 +3380,7 @@
         names: ['a'],
         domClass: 'HTMLAnchorElement',
         properties: {
+          hash: NP.filter(false, identity, true, identity),
           href: NP.filter(false, identity, true, identity)
         }
       });

Reply via email to