On Sat, Jan 15, 2011 at 6:35 PM, Eric Iverson <[email protected]> wrote: > I think the deeper problem is the nature of ajax. The ajax request sends > only the info it thinks necessary and is expecting certain result info. But > if the request is from an old state against a new state there is no way it > can work properly in general.
Ok... In essence, what is happening is jev_jal_ 0 is being executed, and is failing, because the namespace jal does not have a proper definition. If instead, you could arrange for jev_jal_ 0 [ require'~addons/ide/jhs/jal.ijs' to execute, it would work fine. I can think of several ways to arrange that. One way would be to have jhs when it is loaded, look to see if the jal namespace already exists. If it does not exist, it could define a bootstrap loader sort of thing, which contains definitions which look something like this: jev_jal_=:3 :0 require'~addons/ide/jhs/jal.ijs' jev_jal_ 0 ) Other than the effort involved in writing and supporting the bootstrap mechanism, do you see any downsides to this approach? Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
