summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
authorChad Weider <cweider@oofn.net>2012-05-28 13:50:55 -0700
committerChad Weider <cweider@oofn.net>2012-05-28 15:14:52 -0700
commit96ab3dc3b46a0f5d02d8ddb64d7ba2dcdb6b8aa6 (patch)
tree0807e01b3860c0ccbd53e46ef62205bdc494cb5a /src/templates
parentd5ac2bfb714e519d89b69c07ff0af19bef89ef62 (diff)
downloadetherpad-lite-96ab3dc3b46a0f5d02d8ddb64d7ba2dcdb6b8aa6.zip
jQuery is packaged - this is pure duplication.
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/pad.html3
-rw-r--r--src/templates/timeslider.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/templates/pad.html b/src/templates/pad.html
index 27e69927..6c6979db 100644
--- a/src/templates/pad.html
+++ b/src/templates/pad.html
@@ -313,7 +313,6 @@
<% e.begin_block("scripts"); %>
<script type="text/javascript" src="../static/js/require-kernel.js"></script>
- <script type="text/javascript" src="../static/js/jquery.js"></script>
<script type="text/javascript" src="../socket.io/socket.io.js"></script>
<script type="text/javascript" src="../javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define"></script>
<script type="text/javascript" src="../javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define"></script>
@@ -331,6 +330,8 @@
require.setLibraryURI(baseURL + "javascripts/lib");
require.setGlobalKeyPath("require");
+ $ = jQuery = require('ep_etherpad-lite/static/js/rjquery').jQuery; // Expose jQuery #HACK
+
if ((!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf("1.8.") == 0))) {
document.domain = document.domain; // for comet
}
diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html
index ed5e206e..8e690d31 100644
--- a/src/templates/timeslider.html
+++ b/src/templates/timeslider.html
@@ -93,7 +93,6 @@
</div>
<script type="text/javascript" src="../../static/js/require-kernel.js"></script>
-<script type="text/javascript" src="../../static/js/jquery.js"></script>
<script type="text/javascript" src="../../socket.io/socket.io.js"></script>
<script type="text/javascript" src="../../javascripts/lib/ep_etherpad-lite/static/js/timeslider.js?callback=require.define"></script>
<script type="text/javascript" src="../../javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define"></script>
@@ -114,6 +113,8 @@
require.setLibraryURI(baseURL + "javascripts/lib");
require.setGlobalKeyPath("require");
+ $ = jQuery = require('ep_etherpad-lite/static/js/rjquery').jQuery; // Expose jQuery #HACK
+
if ((!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf("1.8.") == 0))) {
document.domain = document.domain; // for comet
}