Skip to content

Commit

Permalink
Fix Sizzle wrapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobie committed May 2, 2010
1 parent 443e1e1 commit 2434892
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions vendor/sizzle/selector_engine.js
Expand Up @@ -16,16 +16,11 @@ Prototype.Selector = (function(engine) {
function match(element, selector) {
return engine.matches(selector, [element]).length == 1;
}

function filter(elements, selector) {
return extend(engine.matches(selector, elements));
}


return {
engine: engine,
select: select,
match: match,
filter: filter
match: match
};
})(Sizzle);

Expand Down

0 comments on commit 2434892

Please sign in to comment.