Commit e1e47cdd authored by John Resig's avatar John Resig

Added support for [@foo] against DOM object properties (not just attributes).

parent 33662cd7
......@@ -59,7 +59,7 @@ jQuery.extend({
_resort: function(m){
return ["", m[1], m[3], m[2], m[5]];
},
_prefix: "z=jQuery.attr(a,m[3]);"
_prefix: "z=a[m[3]]||jQuery.attr(a,m[3]);"
},
"[": "jQuery.find(m[2],a).length"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment