Updated comment

This commit is contained in:
Tobias Reich 2016-03-24 18:16:33 +01:00
parent 30bb0417d5
commit 9c1bab29f1

View File

@ -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