INRIA/VisualSedimentation — pull request #5 by raphv (2013-04-26 09:03:19+00:00)
Title: A small fix to make tokens easier to debug

Hello,
I've seen that tokens are initialized as *functions*, which make them impossible to explore with Firebug.
It seems that there's nothing in the code that prevents them to be classic JS *objects* instead, so I propose this change.
I also add a .toString method, so the debugging console explicitly show these objects as being tokens.

R.