Re: [xwiki-users] jQuery plugin - Conflict with prototype.js

2013-12-18 Thread Ruben M.
Hi Caleb, After several tries i gave up on the requirejs-implementation in Xwiki. For me, it seems like jQuery plugins also use $ for their functions, but are not beeing connected to jQuery although inside the require-function. (in this case: $(...).liveTile() is not a function.) I saw your

Re: [xwiki-users] jQuery plugin - Conflict with prototype.js

2013-12-18 Thread Caleb James DeLisle
Hi Ruben, If you're wrapping the metrojs script in a require(['jquery'], function($) { all_metrojs_code_goes_here }) call then I'm not sure there much else you can do other than manually searching through metrojs and hunting down the places where it uses window.$ which defeats the wrapper. Sorry