掲示板

LR7 - JQuery & Javascript topics

thumbnail
7年前 に Eric COQUELIN によって更新されました。

LR7 - JQuery & Javascript topics

Expert 投稿: 254 参加年月日: 13/11/03 最新の投稿
Dear all,

I have noticed today that Liferay 7 was bundled with JQuery in addition to YUI and MetalJs.

There is nothing in the documentation which refers to JQuery. With a routine from the browser, I get the version.

$.fn.jquery="2.1.4"


However, I would like to understand the strategy as I'm wondering:
  • how the three libraries can run in // without any conflict
  • How we could potentially deactivate unused library but I'm afraid that different components use different libraries and as a result you need all of them


From the default landing page, after login, the page requires 1Mb (without cache).

Please provide me with any article/documentation giving more details regarding the libraries available by default with LR7.
thumbnail
7年前 に David H Nebinger によって更新されました。

RE: LR7 - JQuery & Javascript topics

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Jquery is used to support bootstrap.
AUI is used to support legacy porlet javascript.
Metal is used to support new Liferay javascript.

You can't disable or remove any of these without throwing out the supported functionality.
thumbnail
7年前 に Eric COQUELIN によって更新されました。

RE: LR7 - JQuery & Javascript topics

Expert 投稿: 254 参加年月日: 13/11/03 最新の投稿
That's clear, thank you.