Permalink
Browse files

Confusingly unnecessary closure within a closure

  • Loading branch information...
1 parent 38e8b4b commit 7e1dbb68596a7cf0ad706a278e9ec595d5930e35 @appden appden committed May 4, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 Source/Element/Element.js
@@ -591,17 +591,13 @@ Element.implement({
});
-(function(){
-
var contains = {contains: function(element){
return Slick.contains(this, element);
}};
if (!document.contains) Document.implement(contains);
if (!document.createElement('div').contains) Element.implement(contains);
-})();
-
//<1.2compat>
Element.implement('hasChild', function(element){

0 comments on commit 7e1dbb6

Please sign in to comment.