Skip to content

Commit

Permalink
Revert "* Fixing getElement(s) with empty expressions [#1022]"
Browse files Browse the repository at this point in the history
This reverts commit 9d23df1.
  • Loading branch information
cpojer committed Sep 29, 2010
1 parent 9be1b2c commit e718baf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/Element/Element.js
Expand Up @@ -276,11 +276,11 @@ Window.implement({
[Document, Element].invoke('implement', {

getElements: function(expression){
return Slick.search(this, expression || '*', new Elements);
return Slick.search(this, expression, new Elements);
},

getElement: function(expression){
return document.id(Slick.find(this, expression || '*'));
return document.id(Slick.find(this, expression));
}

});
Expand Down
2 changes: 1 addition & 1 deletion Specs
Submodule Specs updated 1 files
+0 −37 1.3client/Element/Element.js

0 comments on commit e718baf

Please sign in to comment.