jquery and jquery-ui troubles

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

jquery and jquery-ui troubles

Herby Vojčík
Hello!

More of you may have had troubles with jQuery / jQuery UI not loading
when installed from bower / after amber init.

Alas, this was the fact, and the reason was files (jquery.min.js as well
as jquery-ui.min.js) were moved to different location within the package
while minor version was incremented.

In the freshly released 0.12.6, this problem is mitigated, by listing
two paths in jquery as well as jquery-ui mappings for require.js (the
contemporary one first, the legacy one second). RequireJS tries all
paths in a row until loads the library or fails. Thus, no matter what
combination of jQuery / jQuery UI your project needs, Amber should be
able to play with all of them.

Herby

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: jquery and jquery-ui troubles

kilon.alios
yeap it works fine now, great work Herby :) 


On Tue, Jul 1, 2014 at 6:30 PM, Herby Vojčík <[hidden email]> wrote:
Hello!

More of you may have had troubles with jQuery / jQuery UI not loading when installed from bower / after amber init.

Alas, this was the fact, and the reason was files (jquery.min.js as well as jquery-ui.min.js) were moved to different location within the package while minor version was incremented.

In the freshly released 0.12.6, this problem is mitigated, by listing two paths in jquery as well as jquery-ui mappings for require.js (the contemporary one first, the legacy one second). RequireJS tries all paths in a row until loads the library or fails. Thus, no matter what combination of jQuery / jQuery UI your project needs, Amber should be able to play with all of them.

Herby

--
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.