Permalink
Browse files

Fixed spec to use Slick.uidOf

  • Loading branch information...
1 parent 758c29d commit 7f020f535e62b20c23c24893ff1df27276c98a95 @ibolmo ibolmo committed Nov 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 1.2/Element/Element.js
View
@@ -335,7 +335,7 @@ describe('$$', {
'should return multiple Elements for each specific tag': function(){
var sortBy = function(a, b){
- a = a.uid; b = b.uid;
+ a = Slick.uidOf(a); b = Slick.uidOf(b);
return a > b ? 1 : -1;
};
var headers1 = $$('h3', 'h4').sort(sortBy);

0 comments on commit 7f020f5

Please sign in to comment.