But it's quite hard to figure out the right way to do it. Require makes sure they'e there, but how to I call an init method on my main class, for example?
Originally at 2014-09-13T13:59:57Z by Peter Svensson
Sorry to put this at the wrong place; Here goes again ->
It would be great with a small example on what to write in the index.html to start/create/init your own packages. It is mentioned at the bottom of
http://docs.amber-lang.net/overview/creating-packages.html
But it's quite hard to figure out the right way to do it. Require makes sure they'e there, but how to I call an init method on my main class, for example?
Originally at 2014-09-13T13:59:57Z by Peter Svensson
Sorry to put this at the wrong place; Here goes again ->
It would be great with a small example on what to write in the index.html to start/create/init your own packages. It is mentioned at the bottom of
http://docs.amber-lang.net/overview/creating-packages.html
But it's quite hard to figure out the right way to do it. Require makes sure they'e there, but how to I call an init method on my main class, for example?