| Issue 8: | ToString filter not doing what it should. (javascript) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The ToString formatter should invoke s.toString() which is either Object.toString() or whatever is overridden. Since javascript does not do this automatically like java does whenever converting an object to a string it would make sense to do this, otherwise ToString is really a noop.
Apr 6, 2009
Project Member
#1
gtempacc...@yahoo.com
Apr 6, 2009
There are a few other issues I really want to tackle before I just go on to patch up the little problem in the JS impl (and more might become visible as I really go through all of it). However this is a trivial fix :) Sure why not. In javascript the standard is the .toString method, though Java casts all objects using the .toString method when converting them to a string, javascript does not do this automatically. But the Object object has it. |