public/ckeditor/4.4dev/plugins/dialog/plugin.js
function( array, id, recurse ) {
			for ( var i = 0, item;
			( item = array[ i ] ); i++ ) {
				if ( item.id == id )
					return array.splice( i, 1 );
				if ( recurse && item[ recurse ] ) {
					var retval = removeById( item[ recurse ], id, recurse );
					if ( retval )
						return retval;
				}
			}
			return null;
		}
function( array, id, recurse ) {
			for ( var i = 0, item;
			( item = array[ i ] ); i++ ) {
				if ( item.id == id )
					return array.splice( i, 1 );
				if ( recurse && item[ recurse ] ) {
					var retval = removeById( item[ recurse ], id, recurse );
					if ( retval )
						return retval;
				}
			}
			return null;
		}
function ( array , id , recurse ) { for ( var i = 0 , item ; ( item = array [ i ] ) ; i ++ ) { if ( item . id == id ) return array . splice ( i , 1 ) ; if ( recurse && item [ recurse ] ) { var retval = removeById ( item [ recurse ] , id , recurse ) ; if ( retval ) return retval ; } } return null ; }
Tool function used to remove an item from an array based on its id.
Tool function used to remove an item from an array based on its id .