mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 11:26:16 -04:00
9 lines
401 B
JavaScript
9 lines
401 B
JavaScript
/* Proviedes a require'able version of jQuery without leaking $ and jQuery;
|
|
* works around wierdnesses in jquerys own packaging that makes dummy be undefined in the call below
|
|
*/
|
|
define.amd.jQuery = true;
|
|
define(["ep_etherpad-lite/static/js/jquery"], function (dummy) {
|
|
return window.$;
|
|
// Loading jQuery extensions won't work if you use noConflict :/
|
|
// return window.$.noConflict(true);
|
|
});
|