Robert:
Valid point for consumer deprecation, yes, though definitely not ideal for project maintenance.
Do you have a preference for which mode is used for default method implementations? :)
Sincerely,
James Greene
My two cents:when making changes like this, to create new method names rather than changing the behavior of existing methods.
--
You received this message because you are subscribed to the Google Groups "phantomjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phantomjs+...@googlegroups.com.
Visit this group at http://groups.google.com/group/phantomjs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
I prefer synchronous methods as the default, because this is the way people use phantomjs.I.e.
--
var page = require('webpage').create();
page.open('http://en.wikipedia.org');
phantom.waitFor(function() {!page.loading;}); // wait until finish loading
page.render('wikipedia.org.png');phantom.waitFor = function(callback) {
do {
this.page.sendEvent('mousemove');
} while (!callback());
}