1 2 3 4 5 6
window.ykill.api = function (path, cb) { new Request.JSON({ 'url': ykill.api_host + path, 'onSuccess': cb, }).get(); }