Hi,
-- I'm playing around with amber for the first time. My code is here: https://github.com/sciolizer/zendo-amber/tree/95d762612b9c7d45fcc46f9571004d63ed72dbd8 The main package of the app is called "Zendo", but I created two more packages called "Boomerang" and "Boomerang-Tests". I committed the packages, and I can see that my changes are saved in `src/Boomerang.st`. However, when I start Helios (from `amber serve`), the "Boomerang" and "Boomerang-Tests" packages do not appear in the class browser. I tried adding them to the require line in index.html: require(['app', 'src/Boomerang', 'src/Boomerang-Tests', 'src/Zendo', 'src/Zendo-Tests'], function (amber) { ... }); I see no errors in the terminal where I'm running `amber serve`, and I don't see any errors in Chrome's javascript console, either. So I think I have the `require` line right, but the Boomerang packages still do not appear in the Helios class browser. What am I missing? Thanks, Josh "Ua" Ball 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. |
Hi Joshua,
You must add them to the deploy.js file (tests in the devel.js file). Then do a grunt devel to rebuild the config.js You should be good to go. Phil On Thu, Mar 19, 2015 at 3:19 AM, Joshua Ball <[hidden email]> wrote: > Hi, > > I'm playing around with amber for the first time. My code is here: > > https://github.com/sciolizer/zendo-amber/tree/95d762612b9c7d45fcc46f9571004d63ed72dbd8 > > The main package of the app is called "Zendo", but I created two more > packages called "Boomerang" and "Boomerang-Tests". I committed the packages, > and I can see that my changes are saved in `src/Boomerang.st`. However, when > I start Helios (from `amber serve`), the "Boomerang" and "Boomerang-Tests" > packages do not appear in the class browser. > > I tried adding them to the require line in index.html: > > require(['app', 'src/Boomerang', 'src/Boomerang-Tests', 'src/Zendo', > 'src/Zendo-Tests'], function (amber) { ... }); > > I see no errors in the terminal where I'm running `amber serve`, and I don't > see any errors in Chrome's javascript console, either. So I think I have the > `require` line right, but the Boomerang packages still do not appear in the > Helios class browser. > > What am I missing? > > Thanks, > Josh "Ua" Ball > > -- > 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. -- 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. |
In reply to this post by sciolizer
I cloned the repo and issued a PR with some explanations.
https://github.com/sciolizer/zendo-amber/pull/1 Works on my side. Enjoy Amber :-) Phil -- 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. Helios.png (167K) Download Attachment |
In reply to this post by philippeback
[hidden email] wrote: > Hi Joshua, > > > You must add them to the deploy.js file (tests in the devel.js file). > > Then do a grunt devel to rebuild the config.js And remove them from the require call so it is same as before. > You should be good to go. > > Phil > > On Thu, Mar 19, 2015 at 3:19 AM, Joshua Ball<[hidden email]> wrote: >> Hi, >> >> I'm playing around with amber for the first time. My code is here: >> >> https://github.com/sciolizer/zendo-amber/tree/95d762612b9c7d45fcc46f9571004d63ed72dbd8 >> >> The main package of the app is called "Zendo", but I created two more >> packages called "Boomerang" and "Boomerang-Tests". I committed the packages, >> and I can see that my changes are saved in `src/Boomerang.st`. However, when >> I start Helios (from `amber serve`), the "Boomerang" and "Boomerang-Tests" >> packages do not appear in the class browser. >> >> I tried adding them to the require line in index.html: >> >> require(['app', 'src/Boomerang', 'src/Boomerang-Tests', 'src/Zendo', >> 'src/Zendo-Tests'], function (amber) { ... }); >> >> I see no errors in the terminal where I'm running `amber serve`, and I don't >> see any errors in Chrome's javascript console, either. So I think I have the >> `require` line right, but the Boomerang packages still do not appear in the >> Helios class browser. >> >> What am I missing? >> >> Thanks, >> Josh "Ua" Ball >> >> -- >> 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. > -- 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. |
Worked great. Thanks you so much! On Thu, Mar 19, 2015 at 3:08 AM, Herby Vojčík <[hidden email]> wrote:
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. |
Free forum by Nabble | Edit this page |