Hi,
Am 12.11.2013 04:25 schrieb "EnoX1" <tgk...@gmail.com>:
>
>
> Sorry, problems encountered: I could not save codes via web ide for my original Amber 0.11 codes.
>
> Should I need to migration from Amber 0.11.0 manually, not just upgrade simply with 'Bower install' ?
Requirejs is a mechanism for loading .js files.
This change requires those files to look differently.
Therefore you have to recompile all your Smalltalk code as it is written at the end of the announcement email you just replied to.
If you have any problems with it you are welcome to post your problem in a new thread here.
Afterwards you need to load Amber in your html file differently.
The mechanism for saving code from the IDE changed, too.
However, it should work again after the changes from above.
> Does all my previous compiled st packages need to recompiled again manually or it could just be saved and comitted as before via web ide,
> and re-compiled automatically to 0.12 ones?
>
> thanks.
See above.
Best,
Manfred
--
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 amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
The last enhancements target the commandline compiler which can be used
as `amberc` (an executable script) or as a Grunt task. The following
features have been added:
...
* creation of *.deploy.js files (`-d` flag; `deploy` option in Grunt)
Hi Kumar,
Where did you find this sentence?
If it is to be found somewhere in the the 0.12.0/1 release it should be removed.
Creating deploy.js files has been removed from the compiler in the current or previous release.
We should update the release notes and add this information.
Combining and minifying files had been shifted to external tools.
> -Kumar
Best,
Manfred
:D .. yes indeed, thanks to the line-by-line output in the js files with escaped newlines in strings.
grep -v -E -h -e '^([A-Za-z0-9]+\.)+comment=' -e '^source: ' <file.js>
For the "amber/deploy" set, this saves about 20k in minified-gzipped size, which is about 20% of the size of amber/deploy with the comments and source (about 100k -> 80k). It may be significant for some and for others it may not be. Just noting it here.
Best,
-Kumar