Skip to content

Instantly share code, notes, and snippets.

@cheeaun
Created October 26, 2009 10:06
Show Gist options
  • Save cheeaun/218543 to your computer and use it in GitHub Desktop.
Save cheeaun/218543 to your computer and use it in GitHub Desktop.
Redundant MooTools functions :D
String.implement({
getLength: function(){
return this.length;
}
});
Array.implement({
getLength: function(){
return this.length;
}
});
Elements.implement({
getLength: function(){
return this.length;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment