Skip to content
Browse files

Updating Slick to 1.1.4

  • Loading branch information...
1 parent 81ff9f7 commit 4c8640dfbb72a172cb117a6f5e6a2cf149c5377b @cpojer cpojer committed Feb 23, 2011
Showing with 7 additions and 4 deletions.
  1. +7 −4 Source/Slick/Slick.Finder.js
View
11 Source/Slick/Slick.Finder.js
@@ -618,9 +618,12 @@ var combinators = {
children = node.all[id];
if (!children) return;
if (!children[0]) children = [children];
- for (i = 0; item = children[i++];) if (item.getAttributeNode('id').nodeValue == id){
- this.push(item, tag, null, classes, attributes, pseudos);
- break;
+ for (i = 0; item = children[i++];){
+ var idNode = item.getAttributeNode('id');
+ if (idNode && idNode.nodeValue == id){
+ this.push(item, tag, null, classes, attributes, pseudos);
+ break;
+ }
}
return;
}
@@ -875,7 +878,7 @@ local.attributeGetters = {
var Slick = local.Slick = (this.Slick || {});
-Slick.version = '1.1.3';
+Slick.version = '1.1.4';
// Slick finder

0 comments on commit 4c8640d

Please sign in to comment.
Something went wrong with that request. Please try again.