{"comment":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/comments/15987002","html_url":"https://github.com/chamilo/chamilo-lms/commit/338595984c9d07ff778ef0a4c867d543d5b7d53a#commitcomment-15987002","id":15987002,"user":{"login":"ywarnier","id":609839,"avatar_url":"https://avatars.githubusercontent.com/u/609839?v=3","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"338595984c9d07ff778ef0a4c867d543d5b7d53a","created_at":"2016-02-09T19:30:27Z","updated_at":"2016-02-09T19:30:27Z","body":"I still had issues with that. On my local computer, I did the following:\r\n- ```composer global require \"fxp/composer-asset-plugin:1.0.3\"```\r\n- ```rm -rf web/assets```\r\n- ```rm composer.lock```\r\n- ```composer update```\r\n...and I get a web/assets/jquery/jquery.min.js (jquery version 2.0.0)\r\n\r\nOn unstable.chamilo.org, I did *exactly* the same thing and I got web/assets/jquery/dist/jquery.min.js (jquery version 2.2.0).\r\n\r\nWith efforts from the team and a suggestion from @AngelFQC, we identified that the issue was the composer cache, so we needed to include a ```composer clear-cache``` command in the sequence:\r\n- ```composer global require \"fxp/composer-asset-plugin:1.0.3\"```\r\n- ```rm -rf web/assets```\r\n- ```rm composer.lock```\r\n- ```composer clear-cache```\r\n- ```composer update```\r\n\r\nI also updated template.lib.php to load jquery/dist/jquery.min.js and README.md to put the procedure somewhere safe. See https://github.com/chamilo/chamilo-lms/commit/19f48187a61308e3e4514fa8eac649aa82fbd40d"}}