mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
speed up page load
This commit is contained in:
parent
ba2004cb2d
commit
01dd9f5440
2 changed files with 13 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
||||||
"pad.js": [
|
"pad.js": [
|
||||||
"pad.js"
|
"pad.js"
|
||||||
, "pad_utils.js"
|
, "pad_utils.js"
|
||||||
|
, "$js-cookie/src/js.cookie.js"
|
||||||
|
, "security.js"
|
||||||
|
, "$security.js"
|
||||||
, "vendors/browser.js"
|
, "vendors/browser.js"
|
||||||
, "pad_cookie.js"
|
, "pad_cookie.js"
|
||||||
, "pad_editor.js"
|
, "pad_editor.js"
|
||||||
|
@ -22,12 +25,14 @@
|
||||||
, "vendors/farbtastic.js"
|
, "vendors/farbtastic.js"
|
||||||
, "skin_variants.js"
|
, "skin_variants.js"
|
||||||
, "socketio.js"
|
, "socketio.js"
|
||||||
|
, "colorutils.js"
|
||||||
]
|
]
|
||||||
, "timeslider.js": [
|
, "timeslider.js": [
|
||||||
"timeslider.js"
|
"timeslider.js"
|
||||||
, "colorutils.js"
|
, "colorutils.js"
|
||||||
, "draggable.js"
|
, "draggable.js"
|
||||||
, "pad_utils.js"
|
, "pad_utils.js"
|
||||||
|
, "$js-cookie/src/js.cookie.js"
|
||||||
, "vendors/browser.js"
|
, "vendors/browser.js"
|
||||||
, "pad_cookie.js"
|
, "pad_cookie.js"
|
||||||
, "pad_editor.js"
|
, "pad_editor.js"
|
||||||
|
@ -46,6 +51,8 @@
|
||||||
, "broadcast_slider.js"
|
, "broadcast_slider.js"
|
||||||
, "broadcast_revisions.js"
|
, "broadcast_revisions.js"
|
||||||
, "socketio.js"
|
, "socketio.js"
|
||||||
|
, "AttributeManager.js"
|
||||||
|
, "ChangesetUtils.js"
|
||||||
]
|
]
|
||||||
, "ace2_inner.js": [
|
, "ace2_inner.js": [
|
||||||
"ace2_inner.js"
|
"ace2_inner.js"
|
||||||
|
@ -65,6 +72,10 @@
|
||||||
, "AttributeManager.js"
|
, "AttributeManager.js"
|
||||||
, "scroll.js"
|
, "scroll.js"
|
||||||
, "caretPosition.js"
|
, "caretPosition.js"
|
||||||
|
, "pad_utils.js"
|
||||||
|
, "$js-cookie/src/js.cookie.js"
|
||||||
|
, "security.js"
|
||||||
|
, "$security.js"
|
||||||
]
|
]
|
||||||
, "ace2_common.js": [
|
, "ace2_common.js": [
|
||||||
"ace2_common.js"
|
"ace2_common.js"
|
||||||
|
|
|
@ -202,11 +202,12 @@ require.setRootURI("../javascripts/src");\n\
|
||||||
require.setLibraryURI("../javascripts/lib");\n\
|
require.setLibraryURI("../javascripts/lib");\n\
|
||||||
require.setGlobalKeyPath("require");\n\
|
require.setGlobalKeyPath("require");\n\
|
||||||
\n\
|
\n\
|
||||||
|
// intentially moved before requiring client_plugins to save a 307
|
||||||
|
var Ace2Inner = require("ep_etherpad-lite/static/js/ace2_inner");\n\
|
||||||
var plugins = require("ep_etherpad-lite/static/js/pluginfw/client_plugins");\n\
|
var plugins = require("ep_etherpad-lite/static/js/pluginfw/client_plugins");\n\
|
||||||
plugins.adoptPluginsFromAncestorsOf(window);\n\
|
plugins.adoptPluginsFromAncestorsOf(window);\n\
|
||||||
\n\
|
\n\
|
||||||
$ = jQuery = require("ep_etherpad-lite/static/js/rjquery").jQuery; // Expose jQuery #HACK\n\
|
$ = jQuery = require("ep_etherpad-lite/static/js/rjquery").jQuery; // Expose jQuery #HACK\n\
|
||||||
var Ace2Inner = require("ep_etherpad-lite/static/js/ace2_inner");\n\
|
|
||||||
\n\
|
\n\
|
||||||
plugins.ensure(function () {\n\
|
plugins.ensure(function () {\n\
|
||||||
Ace2Inner.init();\n\
|
Ace2Inner.init();\n\
|
||||||
|
|
Loading…
Reference in a new issue