lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.4.1 vs lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.5.0
- old
+ new
@@ -87,17 +87,18 @@
})(Poltergeist.Error);
Poltergeist.InvalidSelector = (function(_super) {
__extends(InvalidSelector, _super);
- function InvalidSelector(selector) {
+ function InvalidSelector(method, selector) {
+ this.method = method;
this.selector = selector;
}
InvalidSelector.prototype.name = "Poltergeist.InvalidSelector";
InvalidSelector.prototype.args = function() {
- return [this.selector];
+ return [this.method, this.selector];
};
return InvalidSelector;
})(Poltergeist.Error);