Commit 5f908d1f 5f908d1fe25d1a8962e35c796636bcf2345a6ae9 by Nicolas Perriault

removed obsolete phantom.getErrorMessage() method

1 parent 711d654d
......@@ -136,10 +136,6 @@ if (!phantom.casperLoaded) {
});
}
phantom.getErrorMessage = function(e) {
return (e.fileName || this.sourceIds[e.sourceId]) + ':' + e.line + ' ' + e;
};
phantom.getScriptCode = function(file, onError) {
var scriptCode = fs.read(file);
if (/\.coffee$/i.test(file)) {
......