From: Brad C. <yo...@br...> - 2004-10-21 14:53:09
|
The example test case I mentioned before points out that a second <script> tag is a separate calling of the processor. --- Vinay Murthy <vin...@gm...> wrote: > Hi, > I had a couple questions about ScriptPreProcessor: > > 1. is the preProcess() function called in an event-based manner, say > whenever the preprocessor encounter a <script> tag ? > > 2. Will I get the entire js present in the page (the ones defined > within <head></head> and the ones present in the body) as one single > string which I'll have to parse to get to the script which I might > want to change/replace? > > Best Regards > Vinay |