ariya/phantomjs — comment on commit e88e008ecf742f705feba07fa9ada3d21f802c82
File: src/utils.cpp line 116
By detro:

I do like the idea of injecting a "call to bootstrap" the code, but the use of a boolean and hardcoding "__run()" makes me a bit... unsettle...

What about an optional parameter that accepts a piece of JS to execute after loading?
Wouldn't that be:
* more generic
* more clear of what it does from the class interface

What do you think?