If my surrogate is like:
Code: Select all
function foo () {
/* do something */
}
Also, is it possible to make surrogates of entire frameworks (jquery, mootols etc.) in this manner?
Code: Select all
function foo () {
/* do something */
}
A quick test with a local server indicates that yes, this is possible. Which makes me think that it should be possible to make surrogates for entire frameworks, but I haven't tried...access2godzilla wrote:Can other code on the page call foo()?
@Thrawn, that feature doesn't work...Thrawn wrote:I guess, if you use a file: URL