failmode="default"
By: a guest | Feb 27th, 2010 | Syntax:
JavaScript | Size: 0.27 KB | Hits: 487 | Expires: Never
function getMacroHandler(name) {
if (name == ".." && this._parent) {
return this._parent;
} else if (this[name]) {
return this[name];
} else if (this.get(name)) {
return this.get(name);
}
return {
getMacroHandler: function() {
return this;
}
};
}