client/js/full-json.js
changeset 293 fba23fde14ba
parent 282 12ee99b182cd
child 307 eaadfa988db4
--- a/client/js/full-json.js	Fri May 16 12:37:51 2014 +0200
+++ b/client/js/full-json.js	Fri May 16 14:09:57 2014 +0200
@@ -2,7 +2,7 @@
 
 Rkns.jsonIO = function(_renkan, _opts) {
     var _proj = _renkan.project;
-    if (typeof _opts.http_method == "undefined") {
+    if (typeof _opts.http_method === "undefined") {
         _opts.http_method = 'PUT';
     }
     var _load = function() {
@@ -23,7 +23,7 @@
                 }
             });
         }
-        
+
     };
     var _thrSave = Rkns._.throttle(
         function() {
@@ -38,6 +38,6 @@
     _proj.on("change", function() {
         _thrSave();
     });
-        
+
     _load();
 };