JS Libs

26 views
Skip to first unread message

Manuel Jesús Recena Soto

unread,
Nov 23, 2015, 5:36:52 AM11/23/15
to Jenkins Developers
Hello Tom,

I saw you are working on this:
https://github.com/jenkinsci/js-libs

I also saw there are these plugins: jquery-plugin and jquery-ui-plugin
https://github.com/jenkinsci/?utf8=%E2%9C%93&query=query

Does the first project replace to these plugins?

Thanks in advance.

--
Manuel Recena Soto
* manuelrecena.com [/blog]
* linkedin.com/in/recena

Tom Fennelly

unread,
Nov 24, 2015, 7:50:40 AM11/24/15
to Jenkins Developers
Hi Manuel.

Rather than saying they "replace" anything, I'd prefer to say that they are a different approach to using JS libraries in the Jenkins UI and that you would use one or the other, but not both.

The older plugins that you linked to are for use in the "traditional" (bind to global scope) mode where in the case of jQuery, there can only be one version in play at a given time. The approach in js-libs is that they are all "detached" from the global scope (allowing multiple "concurrent" versions etc) + are usable in a CommonJS type modular JS system. If interested, there's more info on these topics on jenkins-js-modules and jenkins-js-builder.

Manuel Jesús Recena Soto

unread,
Nov 24, 2015, 5:07:43 PM11/24/15
to Jenkins Developers
Hello Tom,

Thanks so much for your explanation.

Regards,
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/6c9bf44c-5570-46d8-883d-21378ebaa524%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages