Browse Source

EAGLESIX-3003: Using reference to class.

Scott Munday 11 years ago
parent
commit
86aece35cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/pipeline/matcher/TypeMatchExpression.js

+ 1 - 1
lib/pipeline/matcher/TypeMatchExpression.js

@@ -88,7 +88,7 @@ klass.type = function type(e) {
  * @returns {boolean}
  */
 proto.matchesSingleElement = function matchesSingleElement(e) {
-	return TypeMatchExpression.type(e) === this._type;
+	return klass.type(e) === this._type;
 };
 
 /**