On Dec 20, 12:04 am, "Scott Bronson" <[EMAIL PROTECTED]> wrote:
> Ortho looks pretty hot!  I look forward to when you get the interactive
> examples up.
>
> I don't like that Ortho obliterates 'main' from the global namespace.  Why
> not call it OrthoMain?  Or, better yet, how about simply passing the main
> function to ortho.init?

You can! ortho.init(my_main_function);
It's in the docs - I left it out of the 'quick start' page
to keep that simple

The need for ortho.init() in the first place is to ensure that
images (if you have any) are guaranteed to have loaded prior
to creating orthoImage objects. That was the only way I could
get round problems with Internet Explorer and images... if
you aren't using any images in the JavaScript then ortho.init
just calls main.

Not a nice solution and perhaps I'll figure out the right way
to do this but that's what I've got right now.

--Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to