2 # gathers javascript files into a single blob of stripped text
5 file = doc_root _ "/" _ file;
7 replace('(?gm:^\s*)','') |
8 replace('(?gm:(?<!:|")\/\/.*$)','') |
9 replace('(?gm:^$)','') |
11 replace('\/\*[^\*]+.*?\*\/','') #removes javascript comments but not opensrf object hint comments