Skip to content

Commit

Permalink
Merge pull request #2106 from anutron/master
Browse files Browse the repository at this point in the history
Minor Tweak to TypeOf
  • Loading branch information
kamicane committed Oct 14, 2011
2 parents f0205e5 + 22c8b41 commit 63659d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core.js
Expand Up @@ -31,7 +31,7 @@ this.MooTools = {

var typeOf = this.typeOf = function(item){
if (item == null) return 'null';
if (item.$family) return item.$family();
if (item.$family != null) return item.$family();

if (item.nodeName){
if (item.nodeType == 1) return 'element';
Expand Down

0 comments on commit 63659d2

Please sign in to comment.