Skip to content

Commit

Permalink
Fix 1.2compat block
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian committed Aug 9, 2011
1 parent b39cc4c commit 6ea29a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Element/Element.js
Expand Up @@ -344,6 +344,8 @@ Element.implement('hasChild', function(element){

})(Slick.search, Slick.find, Slick.match);

//</1.2compat>

// tree walking

var injectCombinator = function(expression, combinator){
Expand Down Expand Up @@ -422,7 +424,7 @@ if (window.$$ == null) Window.implement('$$', function(selector){
return elements;
});

//</1.2compat>
//<1.2compat>

if (window.$$ == null) Window.implement('$$', function(selector){
if (arguments.length == 1){
Expand All @@ -432,6 +434,8 @@ if (window.$$ == null) Window.implement('$$', function(selector){
return new Elements(arguments);
});

//</1.2compat>

(function(){

// Inserters
Expand Down

0 comments on commit 6ea29a8

Please sign in to comment.