mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-29 19:59:14 -04:00
Use require-kernel for require functionality.
This commit is contained in:
parent
71dfced06d
commit
62e0a8f26c
6 changed files with 69 additions and 22 deletions
|
@ -9,6 +9,7 @@
|
|||
<link rel="stylesheet" href="../../static/css/timeslider.css">
|
||||
<style type="text/css" title="dynamicsyntax"></style>
|
||||
|
||||
<script type="text/javascript" src="../../static/js/require-kernel.js"></script>
|
||||
<script type="text/javascript" src="../../socket.io/socket.io.js"></script>
|
||||
<script type="text/javascript" src="../../minified/timeslider.js"></script>
|
||||
|
||||
|
@ -19,8 +20,6 @@
|
|||
// <![CDATA[
|
||||
var clientVars = {};
|
||||
|
||||
var require = (function (path) {return (function () {return this}())});
|
||||
|
||||
/* TODO: These globals shouldn't exist. */
|
||||
padeditbar = require('/pad_editbar').padeditbar;
|
||||
padimpexp = require('/pad_impexp').padimpexp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue