Code cleanup

This commit is contained in:
Ruud
2014-06-11 12:29:31 +02:00
parent 79cb716ced
commit 876c602710
33 changed files with 56 additions and 53 deletions
+2 -2
View File
@@ -7,9 +7,9 @@ var ApiClass = new Class({
},
request: function(type, options){
var self = this;
var self = this,
r_type = self.options.is_remote ? 'JSONP' : 'JSON';
var r_type = self.options.is_remote ? 'JSONP' : 'JSON';
return new Request[r_type](Object.merge({
'callbackKey': 'callback_func',
'method': 'get',