Jeff Hodges wrote:
Hey,
What's the right way to include widgets defined in files other than the one the shoes app is defined? Using Shoes.load() outside the Shoes app has the nasty side effect of changing the current working directory. And, require and load just don't work.

I think I may have missed something simple.
--
Jeff

Mmph.. left out that the widgets, of course, are defined in a different directory which is how I noticed the side effect.

Calling Shoes.load from inside the app, of course, works fine. This is probably expected behavior for how Shoes.load is supposed to be used (i.e. just by Shoes internally to start up the app).
--
Jeff

Reply via email to