Version 1
[yaffs-website] / vendor / jcalderonzumba / gastonjs / src / Client / Errors / invalid_selector.js
diff --git a/vendor/jcalderonzumba/gastonjs/src/Client/Errors/invalid_selector.js b/vendor/jcalderonzumba/gastonjs/src/Client/Errors/invalid_selector.js
new file mode 100644 (file)
index 0000000..2ef4ae9
--- /dev/null
@@ -0,0 +1,17 @@
+Poltergeist.InvalidSelector = (function (_super) {
+  __extends(InvalidSelector, _super);
+
+  function InvalidSelector(method, selector) {
+    this.method = method;
+    this.selector = selector;
+  }
+
+  InvalidSelector.prototype.name = "Poltergeist.InvalidSelector";
+
+  InvalidSelector.prototype.args = function () {
+    return [this.method, this.selector];
+  };
+
+  return InvalidSelector;
+
+})(Poltergeist.Error);