mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Make implicit loading of modules unnecessary.
This is one step on the way to simplifying `Minify` and allowing all of the modules within pad.js to be loaded independently in development mode (which is useful for debugging).
This commit is contained in:
parent
6a4c025e08
commit
a408557a0e
3 changed files with 15 additions and 5 deletions
|
@ -20,6 +20,12 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// These jQuery things should create local references, but for now `require()`
|
||||
// assigns to the global `$` and augments it with plugins.
|
||||
require('/jquery');
|
||||
require('/json2');
|
||||
require('/undo-xpopup');
|
||||
|
||||
function createCookie(name,value,days)
|
||||
{
|
||||
if (days) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue