Skip to content

Commit

Permalink
* Slick update
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Sep 29, 2010
1 parent 24daa3e commit 5787d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Source/Slick/Slick.Finder.js
Expand Up @@ -21,6 +21,7 @@ local.isXML = function(document){
return (!!document.xmlVersion) || (!!document.xml) || (Object.prototype.toString.call(document) === '[object XMLDocument]') ||
(document.nodeType === 9 && document.documentElement.nodeName !== 'HTML');
};

local.setDocument = function(document){

// convert elements / window arguments to document. if document cannot be extrapolated, the function returns.
Expand Down Expand Up @@ -182,13 +183,6 @@ local.search = function(context, expression, append, first){

var found = this.found = (first) ? null : (append || []);

// no need to pass a context if its the current document

if (expression == null){
expression = context;
context = document; // the current document, not local.document, cause it would be confusing
}

// context checks

if (!context) return found; // No context
Expand Down
2 changes: 1 addition & 1 deletion Specs
Submodule Specs updated 1 files
+8 −4 1.3client/Element/Element.js

0 comments on commit 5787d38

Please sign in to comment.