forked from extern/egroupware
created makefile and instructions for crunching the tinymce.js file
add ttkcruncher to for crunching javascripts
This commit is contained in:
parent
9d4ddba49b
commit
1f99dafd1b
BIN
phpgwapi/doc/ttkcruncher-0.2.tgz
Normal file
BIN
phpgwapi/doc/ttkcruncher-0.2.tgz
Normal file
Binary file not shown.
13
phpgwapi/js/tinymce/jscripts/tiny_mce/Makefile
Normal file
13
phpgwapi/js/tinymce/jscripts/tiny_mce/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
# Makefile for crunching the tinymce_src.js into tinymce.js including the copyright header
|
||||
|
||||
all: crunch
|
||||
|
||||
crunch:
|
||||
ttkcrunch -v ./tiny_mce_src.js -a .crunch -o .;exit 0
|
||||
mv tiny_mce.js tiny_mce.js.old
|
||||
head -n 8 tiny_mce_src.js > tiny_mce.js
|
||||
cat tiny_mce_src.crunch.js >> tiny_mce.js
|
||||
rm tiny_mce_src.crunch.js
|
||||
|
||||
clean:
|
||||
rm tinymce.js.old
|
15
phpgwapi/js/tinymce/jscripts/tiny_mce/README.eGroupWare
Normal file
15
phpgwapi/js/tinymce/jscripts/tiny_mce/README.eGroupWare
Normal file
@ -0,0 +1,15 @@
|
||||
HOWTO APPLY PATCHES TO TINYMCE.JS
|
||||
|
||||
TinyMCE is developed outside the eGW project so after very update we
|
||||
must apply our patches again. In order to keep it traceble which
|
||||
changes are applied to the original tinymce code for eGroupWare,
|
||||
changes are done against 'tiny_mce_src.js'. This file is human
|
||||
readable and we can do diffs, etc...
|
||||
|
||||
To make the changes active in the optimized file 'tiny_mce.js' make
|
||||
sure you have got ttkcrunch installed on you POSIX compatible
|
||||
computer and then run make.
|
||||
|
||||
ttkcrunch can be downloaded from http://www.ticatk.com/download.html.
|
||||
A copy can also be found in phpgwapi/doc
|
||||
|
Loading…
Reference in New Issue
Block a user