mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Use Yajsml to combine files.
Minify only constructs individual files and optionally compresses them with UglifyJS.
This commit is contained in:
parent
b661ef5960
commit
dcc0740621
6 changed files with 61 additions and 37 deletions
|
@ -238,7 +238,7 @@ function Ace2Editor()
|
|||
} else {
|
||||
file = ACE_SOURCE;
|
||||
file = file.replace(/^\.\.\/static\/js\//, '../minified/');
|
||||
buffer.push('<script type="application/javascript" src="' + file + '"><\/script>');
|
||||
buffer.push('<script type="application/javascript" src="' + file + '?callback=require.define"><\/script>');
|
||||
buffer.push('<script type="text/javascript">');
|
||||
buffer.push('require("/ace2_inner");');
|
||||
buffer.push('<\/script>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue