bard / mozrepl

Remotely control Firefox and other Mozilla apps with JavaScript
https://github.com/bard/mozrepl/wiki/
510 stars 64 forks source link

prints function() {...} instead of full function source #31

Open unhammer opened 12 years ago

unhammer commented 12 years ago

When I type e.g. repl.look (without parens), I just get function(){...} instead of the full source. How can I get the full source pretty-printed as in https://www.youtube.com/watch?v=5RSnHN6S52c, without using toSource?