Page is a not externally linkable
ergophobe - 5:42 pm on Dec 21, 2012 (gmt 0)
I just started work on a pretty big site where the original developer is loading three libraries - jQuery, Dojo and Mootools - on every page.
I know that jQuery is getting used, but I have disabled Dojo and Mootools and can't see any problems. I can't find any calls to them either, but there are thousands of files (though not thousands of JS files, but it's possible that JS is inline in some files/templates) and I have looked around a bit and don't see any calls to those libraries.
Are there some fairly reliable markers for Dojo and Mootools I could grep for?
Like for jQuery I can grep for things like "(jQuery|\$\()" and hit most invocations with just a few siple strings like that.
Ideally, of course, the Dojo/Mootools searches would be distinct from jQuery (i.e. hit Mootools and Dojo,but not jQuery).
Since I don't know those librarires at all, I'm hoping someone can give some good ideas.