shell with custom WrapFactory

14 views
Skip to first unread message

Tim Schaub

unread,
May 13, 2012, 2:17:08 AM5/13/12
to mozill...@googlegroups.com
I'm interested in providing a shell with a custom WrapFactory. I'm
using org.mozilla.javascript.tools.shell.Main right now, and it looks
like a fair amount of code to duplicate just to set a custom wrap
factory in the context. The Shell in the Rhino examples looks simpler
to duplicate, but I'm hoping someone suggest if there is a way to use
a custom WrapFactory without creating a new shell class.

Thanks for any tips,
Tim
Reply all
Reply to author
Forward
0 new messages