Login  Register

Re: Javascript in Fiji does not work anymore

Posted by dscho on Jun 20, 2014; 1:22am
URL: http://imagej.273.s1.nabble.com/Javascript-in-Fiji-does-not-work-anymore-tp5008314p5008344.html

Hi Christophe,

On Thu, 19 Jun 2014, Christophe Leterrier wrote:

> There is a class I don't manage to find. What should I import to be able to
> use load("path/to/my/ javascript.js"), the command that allows to load
> other scripts from a script (as used in
> http://fiji.sc/wiki/index.php/Javascript_Scripting)?

Please note that "load(path)" is not an officially supported Javascript
function.

Having said that, I just spent an hour to port it from Fiji's Javascript
interpreter, add a regression test, release, deploy and upload it. So
there you go, after Fiji update, you got it.

Enjoy,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html