Code Duplication    Length = 17-19 lines in 2 locations

api/js/egw_action/test/js/jquery.js 1 location

@@ 4060-4078 (lines=19) @@
4057
				type = match[2],
4058
				check = match[4];
4059
4060
			return result == null ?
4061
				type === "!=" :
4062
				type === "=" ?
4063
				value === check :
4064
				type === "*=" ?
4065
				value.indexOf(check) >= 0 :
4066
				type === "~=" ?
4067
				(" " + value + " ").indexOf(check) >= 0 :
4068
				!check ?
4069
				value && result !== false :
4070
				type === "!=" ?
4071
				value !== check :
4072
				type === "^=" ?
4073
				value.indexOf(check) === 0 :
4074
				type === "$=" ?
4075
				value.substr(value.length - check.length) === check :
4076
				type === "|=" ?
4077
				value === check || value.substr(0, check.length + 1) === check + "-" :
4078
				false;
4079
		},
4080
4081
		POS: function( elem, match, i, array ) {

api/js/etemplate/test/jquery.js 1 location

@@ 4721-4737 (lines=17) @@
4718
				type === "!=" :
4719
				!type && Sizzle.attr ?
4720
				result != null :
4721
				type === "=" ?
4722
				value === check :
4723
				type === "*=" ?
4724
				value.indexOf(check) >= 0 :
4725
				type === "~=" ?
4726
				(" " + value + " ").indexOf(check) >= 0 :
4727
				!check ?
4728
				value && result !== false :
4729
				type === "!=" ?
4730
				value !== check :
4731
				type === "^=" ?
4732
				value.indexOf(check) === 0 :
4733
				type === "$=" ?
4734
				value.substr(value.length - check.length) === check :
4735
				type === "|=" ?
4736
				value === check || value.substr(0, check.length + 1) === check + "-" :
4737
				false;
4738
		},
4739
4740
		POS: function( elem, match, i, array ) {