Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 4261-4269 (lines=9) @@
4258
				part = part.toLowerCase();
4259
			}
4260
4261
			for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
4262
				if ( (elem = checkSet[i]) ) {
4263
					while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
4264
4265
					checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
4266
						elem || false :
4267
						elem === part;
4268
				}
4269
			}
4270
4271
			if ( isPartStrNotTag ) {
4272
				Sizzle.filter( part, checkSet, true );

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

@@ 3623-3631 (lines=9) @@
3620
				part = part.toLowerCase();
3621
			}
3622
3623
			for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
3624
				if ( (elem = checkSet[i]) ) {
3625
					while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
3626
3627
					checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
3628
						elem || false :
3629
						elem === part;
3630
				}
3631
			}
3632
3633
			if ( isPartStrNotTag ) {
3634
				Sizzle.filter( part, checkSet, true );