Best wishes,
Stan
Here is what the wiki page
http://code.google.com/p/phantomjs/wiki/ServiceIntegration says:
"The function includeJs behaves just like the usual dynamic script tag
loading technique."
If you are familiar with dynamic script tag loading, then you know how
includeJs works. If not, read
http://www.nczonline.net/blog/2009/06/23/loading-javascript-without-blocking/.
OTOH injectJs is like evaluating the contents of the specified file
name. It's blocking and thus not interchangable with includeJs.
--
Ariya Hidayat, http://ariya.ofilabs.com