mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
performance improvement by delivering jquery, rjquery, underscore, ace2_comon and security in a single file.
This commit is contained in:
parent
beec69ac1c
commit
d03966273f
2 changed files with 10 additions and 13 deletions
|
@ -1,10 +1,13 @@
|
|||
{
|
||||
"pad.js": [
|
||||
"util.js" : [
|
||||
"jquery.js"
|
||||
, "underscore.js"
|
||||
, "security.js"
|
||||
, "rjquery.js"
|
||||
, "ace2_common.js"
|
||||
, "underscore.js"
|
||||
],
|
||||
"pad.js": [
|
||||
"security.js"
|
||||
, "pad.js"
|
||||
, "ace2_common.js"
|
||||
, "pad_utils.js"
|
||||
, "undo-xpopup.js"
|
||||
, "json2.js"
|
||||
|
@ -25,14 +28,11 @@
|
|||
, "prefixfree.js"
|
||||
]
|
||||
, "timeslider.js": [
|
||||
"jquery.js"
|
||||
, "underscore.js"
|
||||
, "security.js"
|
||||
"security.js"
|
||||
, "undo-xpopup.js"
|
||||
, "json2.js"
|
||||
, "colorutils.js"
|
||||
, "draggable.js"
|
||||
, "ace2_common.js"
|
||||
, "pad_utils.js"
|
||||
, "pad_cookie.js"
|
||||
, "pad_editor.js"
|
||||
|
@ -52,10 +52,7 @@
|
|||
, "timeslider.js"
|
||||
]
|
||||
, "ace2_inner.js": [
|
||||
"ace2_common.js"
|
||||
, "underscore.js"
|
||||
, "rjquery.js"
|
||||
, "AttributePoolFactory.js"
|
||||
"AttributePoolFactory.js"
|
||||
, "Changeset.js"
|
||||
, "security.js"
|
||||
, "skiplist.js"
|
||||
|
|
|
@ -103,7 +103,7 @@ function loadBroadcastJS(socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, Bro
|
|||
domInfo.prepareForAdd();
|
||||
element.className = domInfo.node.className;
|
||||
element.innerHTML = domInfo.node.innerHTML;
|
||||
element.id = Math.random();
|
||||
element.id = _.uniqueId();
|
||||
return $(element);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue