| 
					
				 | 
			
			
				@@ -5,7 +5,7 @@ var MonthExpression = module.exports = (function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		if(arguments.length !== 0) throw new Error("zero args expected"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		base.call(this); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}, base = require("./NaryExpression"), proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	// PROTOTYPE MEMBERS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	proto.getOpName = function getOpName(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return "$month"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13,13 +13,13 @@ var MonthExpression = module.exports = (function(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	proto.addOperand = function addOperand(expr) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.checkArgLimit(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		base.addOperand(expr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		base.prototype.addOperand.call(this, expr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	/** Takes a date and returns the month as a number between 1 and 12. **/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	proto.evaluate = function evaluate(doc){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.checkArgCount(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		var date = this.operands[0].evalute(doc); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		var date = this.operands[0].evaluate(doc); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return date.getMonth() + 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |