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.
(
Hi Ruben,
If you're wrapping the metrojs script in a
require(['jquery'], function($) { })
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 I couldn't bring better ne
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
Actually IIRC you reminded me that I has not documented it and I decided
to put off documenting it because it was new and might change/break
(which it did in 5.1). Now I think you're right and we have reached a
point where it is safe for people to begin using it so I will write some
documentation o
BTW might be a good time to document the requirejs feature in XWiki Caleb? (You
forgot to do so when you introduced it, you only added it in the release notes
but not in the documentation) :)
Thanks
-Vincent
On 4 Dec 2013 at 17:33:08, Ruben M. (r.muel...@kraeuterhaus.de) wrote:
Hi Caleb,
Tha
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' &&
Hi Ruben,
On 12/04/2013 12:10 PM, Ruben M. wrote:
> 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 e