else if (/\./.test(method)) { var m = method.split('.'); return methods[m[0]][m[1]].apply(this, Array.prototype.slice.call(arguments, 1)); }