fix issue 300

git-svn-id: https://beef.googlecode.com/svn/trunk@806 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
mosse.benjamin
2011-03-25 11:36:09 +00:00
parent f7abc7ef5e
commit 3c892f1bb9

View File

@@ -12,7 +12,7 @@ beef.encode.json = {
return "null";
if (type == "undefined")
return undefined;
return '\"\"';
if (type == "number" || type == "boolean")
return o + "";