Dňa 15. júna 2015 22:12:00 CEST používateľ "Sean P. DeNigris" <
[hidden email]> napísal:
> Sean P. DeNigris wrote
> > Any ideas? ... maybe I need to declare my package's dependency on
> > jquery-ui
>
> That appeared to be the problem. Additional steps required:
> 1. Add jquery-ui.amd.json and jquery.amd.json, which I copied from
> Helios
> 2. Add jquery and jquery-ui to deploy.js
No need for jquery, jquery-ui is enough.
BTW, deploy.js should be used only when you want to say "jquery-ui" is part/dependency of an app as a whole. Problem with this is if ypu want to share code / you would need to repeat yourself in each place.
If you want to put your dependency close to the code, you should put 'jquery-ui' in imports: section of each package that dependa on its presence (and use deploy.js as it was meant - only as a list of packages that builder should pack into deployment the.js - their dependencies are included as well).
--
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.