Damn semicolons

This commit is contained in:
Ruud
2014-12-05 14:44:12 +01:00
parent d6cfcae45b
commit 5145618c39
27 changed files with 261 additions and 263 deletions
+3 -3
View File
@@ -14,15 +14,15 @@ var ApiClass = new Class({
'callbackKey': 'callback_func',
'method': 'get',
'url': self.createUrl(type, {'t': randomString()})
}, options)).send()
}, options)).send();
},
createUrl: function(action, params){
return this.options.url + (action || 'default') + '/' + (params ? '?'+Object.toQueryString(params) : '')
return this.options.url + (action || 'default') + '/' + (params ? '?'+Object.toQueryString(params) : '');
},
getOption: function(name){
return this.options[name]
return this.options[name];
}
});