Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Confusingly unnecessary closure within a closure

  • Loading branch information...
commit 7e1dbb68596a7cf0ad706a278e9ec595d5930e35 1 parent 38e8b4b
@appden appden authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 Source/Element/Element.js
View
4 Source/Element/Element.js
@@ -591,8 +591,6 @@ Element.implement({
});
-(function(){
-
var contains = {contains: function(element){
return Slick.contains(this, element);
}};
@@ -600,8 +598,6 @@ var contains = {contains: function(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.
Something went wrong with that request. Please try again.