Skip to content

Commit

Permalink
Fix another 1.2 compat block
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian committed Aug 9, 2011
1 parent 22ba8aa commit 2ea35c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Element/Element.js
Expand Up @@ -410,6 +410,8 @@ Element.implement({

});

//<1.2compat>

if (window.$$ == null) Window.implement('$$', function(selector){
var elements = new Elements;
if (arguments.length == 1 && typeof selector == 'string') return Slick.search(this.document, selector, elements);
Expand All @@ -424,7 +426,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 @@ -434,8 +436,6 @@ if (window.$$ == null) Window.implement('$$', function(selector){
return new Elements(arguments);
});

//</1.2compat>

(function(){

// Inserters
Expand Down

0 comments on commit 2ea35c3

Please sign in to comment.