Hello!
FYI:
I just fixed a bug which cause namespace to disappear in `amber
init`-created files. The bug was in grunt-init-amber template, in
Gruntfile.js. In amberc:all target, it missed this line:
amd_namespace: "...the namespace...",
The result was, the project lost its namespace in .js files after
running `grunt`, which `amber init` ran automatically as the last
command, to recompile .st in template to latest form.
How to update `amber init`:
(sudo) npm -g update (amber-cli)
Solution if your project suffers from this:
Just add the previously mentioned amd_namespace line to amberc:{ all: {
... } } part in Gruntfile.js (or if lazy or not comfortable with editing
Gruntfile.js directly, just `amber init` in in empty directory, answer
all questions so it mimics your existing project, and just copy new
Gruntfile.js over the old one), then run `grunt` in your project dir.
Herby
P.S.: Strange that no one had problems with this...
--
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.