public/ckeditor/4.4dev/core/htmlparser/filter.js
function( priority ) {
			var rules = this.rules,
				len = rules.length,
				i = len - 1;

			// Search from the end, because usually rules will be added with default priority, so
			// we will be able to stop loop quickly.
			while ( i >= 0 && priority < rules[ i ].priority )
				i--;

			return i + 1;
		}
function( priority ) {
			var rules = this.rules,
				len = rules.length,
				i = len - 1;

			// Search from the end, because usually rules will be added with default priority, so
			// we will be able to stop loop quickly.
			while ( i >= 0 && priority < rules[ i ].priority )
				i--;

			return i + 1;
		}
function ( priority ) { var rules = this . rules , len = rules . length , i = len - 1 ; // Search from the end, because usually rules will be added with default priority, so // we will be able to stop loop quickly. while ( i >= 0 && priority < rules [ i ] . priority ) i -- ; return i + 1 ; }
Finds an index at which rule with given priority should be inserted.

@param {Number} priority
@returns {Number} Index.
Finds an index at which rule with given priority should be inserted .