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' && define.amd) {
    // AMD. Register as an anonymous module.
    define(['jquery'], factory);
} else {
    // Browser globals
    factory(jQuery);
}
}(function ($) {

    $.fn.jqueryPlugin = function () {
        // Put your plugin code here
    };  

}));

Is it enough to create a js-File like that and register it in the
javascript.vm under 'paths:', or do i have to change more things in that
file or somewhere else? (produced errors so far...)
I found something about jquery in the require.js in the js-folder.

Regards,
Ruben







--
View this message in context: 
http://xwiki.475771.n2.nabble.com/jQuery-plugin-Conflict-with-prototype-js-tp7588243p7588260.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to