]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/logic/fastjs.ttk
removing old opac images and css
[Evergreen.git] / Open-ILS / src / templates / opac / logic / fastjs.ttk
1 [%-     
2         # gathers javascript files into a single blob of stripped text
3
4         FOR file IN files;
5                 file = doc_root _ "/" _ file;
6                 INCLUDE $file | 
7                         replace('(?gm:^\s*)','')                | 
8                         replace('(?gm:(?<!:|")\/\/.*$)','')     |
9                         replace('(?gm:^$)','')                  |
10                         replace('\t+',' ')                              |
11                         replace('\/\*[^\*]+.*?\*\/','') #removes javascript comments but not opensrf object hint comments
12                         ;
13         END;
14 -%]