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

2013-12-04 Thread Ruben M.
Hello XWiki team & users, First of all thanks a lot for your great work. I’ve set up XWiki as an intranet website (version 5.2.1). Currenty I’m trying to customize it with some javascript to make life easier for the users. I experimented a bit with jQuery (as I have a bit of experience with it)

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

2013-12-04 Thread Ruben M.
Hi Caleb, Thanks for your quick answer. Thanks for your hint with require.js, it seems to be an interesting concept, though it might be beyond my js-skills :-) But i think i'll give it a try. I found the following code at stackoverflow: (function (factory) { if (typeof define === 'function' &&

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 do

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

2014-01-08 Thread Ruben M.
Hi Caleb, Finally some good news concerning require.js and my plugin. It is working although it's only possible when I include the metrojs-code in the page itself. (