laci <
[hidden email]>napísal/a:
Well javascript:require("amber/helpers").globals.Browser returns undefined.
Then there is probably no Browser loaded, that is, IDE package must have failed to load.
How to use the config.js?
I cannot find any documentation on that.
There is none. It's new feature planned for 0.13. Docs are to be added yet. 0.12.6 is still using the old amber.js method.
Config.js only contains require.config call and is genetated by `amber config` command in the root directory of amber or conforming amber project. You can look into README of herby/amd-config-builder on github to read something about how it is assembled from xxx.amd.json files, if you want, ir's the only documentation available to date.
Tl;dr: don't use bleeding-edge amber to develop projects, only use it to contribute to amber itself (there it works fine). To develop projects use latest stable release 0.12.6.
--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
For more options, visit
https://groups.google.com/d/optout.