Your IP : 216.73.216.209


Current Path : /home/megadansyp/www/includes/js/maskedinput/spec/lib/
Upload File :
Current File : /home/megadansyp/www/includes/js/maskedinput/spec/lib/matchers.js

beforeEach(function(){
	this.addMatchers({
		toHaveValue:function(expected){			
			return (this.actual=this.actual.val())===expected;
		},
		toMatchPropertiesOf:function(expected){
			if($.type(expected)!=='object')
				return false;
			for(var prop in expected){
				if(this.actual[prop]!==expected[prop])
					return false;
			}
			return true;
		}
	});
});