n1k0/casperjs — comment on commit f0b8a38ae09e8b30a3f807e86d6b9e04a8974755
File:  line 0
By srhyne:

I just updated 0.4.2 -> run.js with

open: function(location, options) {
var url;
options = isType(options, "object") ? options : {};
this.requestUrl = location;
url = (!/^http/.test(location)) ? ('file://' + phantom.casperPath + '/' + location) : location;
this.page.open(url);
return this;
}