Browse Source

Updated comment

Tobias Reich 9 years ago
parent
commit
9c1bab29f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/scripts/api.js

+ 1 - 1
src/scripts/api.js

@@ -26,7 +26,7 @@ api.post = function(fn, params, callback) {
 			return false
 		}
 
-		// Convert 1 to true and an empty string to false
+		// Convert true and false to real booleans
 		if (data==='true')       data = true
 		else if (data==='false') data = false