Comment #3 on issue 1088 by lucas.e.smith: Object.prototype.toString !==
{}.toString
http://code.google.com/p/google-caja/issues/detail?id=1088
So far I've only found it used in a special use case of serializing objects
while
populating a template with YAHOO.lang.substitute(template_str,
map_of_values);
e.g. Y.l.substitute("Your {special} object {here}", { special: "broken",
here:
someObject });
If someObject is an instance of a class (or even a simple object) that has a
customized toString, it will use that, otherwise it uses a special
JSON.stringify-esque method to expose the object's innards. The logic fork
is based
on the comparison of someObject.toString to the O.p.toString.
This is not a critical issue.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings