API introduction

This commit is contained in:
Ruud
2012-04-07 16:51:25 +02:00
parent 6199c0385c
commit 5f319635c2
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ var ApiClass = new Class({
var r_type = self.options.is_remote ? 'JSONP' : 'JSON';
return new Request[r_type](Object.merge({
'callbackKey': 'json_callback',
'callbackKey': 'callback_func',
'method': 'get',
'url': self.createUrl(type),
}, options)).send()