Permalink
Browse files

- qsa is now disabled for attribute selectors since all frameworks h…

…ave custom attribute handling (thx Valerio)
  • Loading branch information...
Harald Kirschner
Harald Kirschner committed Apr 30, 2009
1 parent c20492f commit be3519aae6508c5e830aface853aad3ef65b26e3
Showing with 2 additions and 2 deletions.
  1. +1 −1 Sly-min.js
  2. +1 −1 Sly.js
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
2 Sly.js
@@ -116,7 +116,7 @@ proto.search = function(context, results, options) {
for (i = 0; (item = results[i]); i++) locateCurrent(item);
}
if (support.hasQsa && !iterate && context.nodeType == 9) {
if (support.hasQsa && !iterate && context.nodeType == 9 && !(/\[/).test(this.text)) {
try {
var query = context.querySelectorAll(this.text);
} catch(e) {}

0 comments on commit be3519a

Please sign in to comment.