loadAmber is in js/amber.js and takes care of loading files for you.
However, if you don't use it, you can call your function like this:
smalltalkReady = function() {
//Do anything you want here
}
All you have to make sure is that you define this before loading amber
(it will be called in init.js).
HTH,
Nico
On Tue, 2011-10-25 at 17:21 -0400, Larry White wrote:
> I'm using the load amber function to execute my amber code on page
> load and it works in dev mode, but when I switched to deployment mode
> I get "Uncaught Reference: loadAmber is not defined.
>
> To create my deployment js I followed the instructions on the mailing
> list to create a single js file like so
>
> cat js/boot.js js/Kernel.deploy.js js/Canvas.deploy.js
> js/MYCODE.deploy.js js/init.js > js/mycode.js
>
> Is there something missing from this list?
>
> thanks.