lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.8.0 vs lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.8.1
- old
+ new
@@ -48,11 +48,13 @@
};
Poltergeist.prototype.send = function(data) {
if (this.running) {
this.connection.send(data);
- return this.running = false;
+ this.running = false;
+ return true;
}
+ return false;
};
return Poltergeist;
})();