Torsten Curdt wrote:
that's the goal. But with imports in <map:flow/> you will get into trouble:

<map:flow>
  <map:script src="block:blockA/flow.js"/>
  <map:script src="block:blockB/flow.js"/>
  <map:script src="flow.js"/>
</map:flow>

In this case print(blockBFunc()); will return "A".


k ...then I did understand correctly.
the "callFunction" proposal got me
a bit off the track ;)

But there is only one helper() method per block!?



Yes. Therefore we need something more sohpisticated than imports.


ok ...what version of javascript does
rhino implement? I could not find that
information...

http://www.mozilla.org/rhino/overview.html (in trunk we use Rhino 1.6pre1)

--
Reinhard

Reply via email to