Forráskód Böngészése

EAGLESIX-3006: Added return (only missing code) to shallowClone().

Scott Munday 11 éve
szülő
commit
004f7b8d15
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      lib/pipeline/matcher/AndMatchExpression.js

+ 2 - 0
lib/pipeline/matcher/AndMatchExpression.js

@@ -78,5 +78,7 @@ proto.shallowClone = function shallowClone( /*  */ ){
 	for (var i = 0; i < this.numChildren(); i++) {
 		e.add(this.getChild(i).shallowClone());
 	}
+
+	return e; // Return the shallow copy.
 };