Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

New api: Envjs.getcwd

#140

This will partially complete the transition from Envjs.uri from being a Java-based function to a near pure javascript function.

The only callout to java now is to get the "current working directory" (or getcwd in posix-land) for loading in file:// type urls.

xhr.js will have one of the following defs

// CORE.. don't really expect this to work all that well
Envjs.getcwd = function() { return "."; }

// RHINO
Envjs.getcwd = function() { return java.lang.System.getProperty("user.dir"); }

Then, I'll move the current Envjs.uri from the rhino and move into core, and have Envjs.uri use Envjs.getcwd.

I'll let this sit around as a ticket for a few days, in case anyone has an alternate idea.

Reported by nickg · March 27th, 2010 @ 02:02 PM

State: resolved
Milestone: none
Assigned to: nickg nickg

Activity

  1. nickg
    nickg
    • State changed from open to resolved

    this is in.

    March 31st, 2010 @ 04:42 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.