[rhmessaging-commits] rhmessaging commits: r4309 - mgmt/newdata/cumin/open-flash-chart/com/serialization/json.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Mon Sep 20 11:29:10 EDT 2010
Author: eallen
Date: 2010-09-20 11:29:09 -0400 (Mon, 20 Sep 2010)
New Revision: 4309
Modified:
mgmt/newdata/cumin/open-flash-chart/com/serialization/json/JSON.as
Log:
Allow strings "True" and "False" in addition to "true" and "false"
Modified: mgmt/newdata/cumin/open-flash-chart/com/serialization/json/JSON.as
===================================================================
--- mgmt/newdata/cumin/open-flash-chart/com/serialization/json/JSON.as 2010-09-20 15:27:10 UTC (rev 4308)
+++ mgmt/newdata/cumin/open-flash-chart/com/serialization/json/JSON.as 2010-09-20 15:29:09 UTC (rev 4309)
@@ -417,18 +417,21 @@
_word = function ():* {
switch (ch) {
case 't':
+ case 'T':
if (_next() == 'r' && _next() == 'u' && _next() == 'e') {
_next();
return true;
}
break;
case 'f':
+ case 'F':
if (_next() == 'a' && _next() == 'l' && _next() == 's' && _next() == 'e') {
_next();
return false;
}
break;
case 'n':
+ case 'N':
if (_next() == 'u' && _next() == 'l' && _next() == 'l') {
_next();
return null;
More information about the rhmessaging-commits
mailing list