summaryrefslogtreecommitdiffstats
path: root/module/web/app/scripts/app.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-09 16:08:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-09 16:08:59 +0200
commitecfef4a560dece9dd911017efdfc63fcc04bedfc (patch)
tree42d00f155c47a8a80e3a023c841a59f87b73885c /module/web/app/scripts/app.js
parentrestructured webui to single-page-app, removed jinja (diff)
downloadpyload-ecfef4a560dece9dd911017efdfc63fcc04bedfc.tar.xz
adapted to jshint config
Diffstat (limited to 'module/web/app/scripts/app.js')
-rw-r--r--module/web/app/scripts/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/app/scripts/app.js b/module/web/app/scripts/app.js
index f841c9393..427cb1bc8 100644
--- a/module/web/app/scripts/app.js
+++ b/module/web/app/scripts/app.js
@@ -50,10 +50,10 @@ define([
App.apiRequest = function(method, data, options) {
options || (options = {});
options.url = App.apiUrl('api/' + method);
- options.dataType = "json";
+ options.dataType = 'json';
if (data) {
- options.type = "POST";
+ options.type = 'POST';
options.data = {};
// Convert arguments to json
_.keys(data).map(function(key) {