The Big Rewrite to AMD format - had to do lots of them at once

This commit is contained in:
Egil Moeller 2015-04-12 21:03:59 +02:00
parent 2472cd365e
commit 250b8928bd
20 changed files with 4582 additions and 4448 deletions

View file

@ -3,5 +3,7 @@
*/
define.amd.jQuery = true;
define(["ep_etherpad-lite/static/js/jquery"], function (dummy) {
return window.$.noConflict(true);
return window.$;
// Loading jQuery extensions won't work if you use noConflict :/
// return window.$.noConflict(true);
});