Comparing version 1.0.1 to 1.0.2
@@ -49,3 +49,3 @@ // Copyright (c) 2011 Daniel Ennis <aikar@aikar.co> | ||
} | ||
if (tmpobj) { | ||
if (tmpobj && !tmpobj.__lookupGetter__(val)) { | ||
if (typeof tmpobj == 'object' && tmpobj[val] == 'object') { | ||
@@ -68,3 +68,6 @@ tmpobj = tmpobj[val] | ||
})(val, getp1[val], tmpobj); | ||
tmpobj = null; | ||
} | ||
} else { | ||
tmpobj = null | ||
} | ||
@@ -71,0 +74,0 @@ getp2 = getp1[val]; |
@@ -5,3 +5,3 @@ { | ||
"description": "Autoloads JS Files (designed for Joose)", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "http://aikar.co", | ||
@@ -8,0 +8,0 @@ "main": "autoloader.js", |
4730
125