Skip to content
This repository
Browse code

Confusingly unnecessary closure within a closure

  • Loading branch information...
commit 7e1dbb68596a7cf0ad706a278e9ec595d5930e35 1 parent 38e8b4b
Scott Kyle authored May 04, 2010

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  Source/Element/Element.js
4  Source/Element/Element.js
@@ -591,8 +591,6 @@ Element.implement({
591 591
 
592 592
 });
593 593
 
594  
-(function(){
595  
-
596 594
 var contains = {contains: function(element){
597 595
 	return Slick.contains(this, element);
598 596
 }};
@@ -600,8 +598,6 @@ var contains = {contains: function(element){
600 598
 if (!document.contains) Document.implement(contains);
601 599
 if (!document.createElement('div').contains) Element.implement(contains);
602 600
 
603  
-})();
604  
-
605 601
 //<1.2compat>
606 602
 
607 603
 Element.implement('hasChild', function(element){

0 notes on commit 7e1dbb6

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