I'm not quite sure what you mean by a "standalone file." You could use Dir.chdir to move somewhere where the relative paths work...
- Nathan On 5/4/07, weepy <[EMAIL PROTECTED]> wrote: > > > i've hacked it to load external ruby scripts via ajax. > > however i think we're going to run into a problem with relative paths > and require > > - is it possible to create a standalone file for haml and sass ? > > > > On May 4, 7:34 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote: > > That certainly would be easier. I'd still like to see a JS > > implementation of Haml, but since that's going to have to wait anyway, > > this would be a good substitute. I've never tried running Haml on JRuby, > > though... I can't see why it would screw up, but has anyone tried it? > > > > - Nathan > > > > weepy wrote: > > > I know we've talked about converting HAML to javascript, but perhaps > > > this could be an easier route : > > > > >http://ruby-in-browser.googlecode.com/svn/trunk/evalruby/index.html > > > > > it takes a Java applet running JRuby. Obviously this is a hefty > > > download (2mb i think), but since it's for developers only i don't > > > think it's a problem. > > > > > Thoughts ? > > > > > weepy > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en -~----------~----~----~----~------~----~------~--~---
