Updated comment

pull/475/head
Tobias Reich 8 years ago
parent 30bb0417d5
commit 9c1bab29f1

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

Loading…
Cancel
Save