_editItemDone (id, title) {
		var listItem = qs('[data-id="' + id + '"]');
	
		if (!listItem) {
			return;
		}
	
		var input = qs('input.edit', listItem);
		listItem.removeChild(input);
	
		listItem.className = listItem.className.replace('editing', '');
	
		qsa('label', listItem).forEach(function (label) {
			label.textContent = title;
		});
	}
/**
	 * Private method that handles replacement of a todo content once edited
	 * @param {number} id The id of the edited todo
	 * @param {string} title The title of the edited todo
	 */
Private method that handles replacement of a todo content once edited
@param {number} id The id of the edited todo
@param {string} title The title of the edited todo
Private method that handles replacement of a todo content once edited @param { number } id The id of the edited todo @param { string } title The title of the edited todo
_editItemDone (id, title) {
		var listItem = qs('[data-id="' + id + '"]');
		if (!listItem) {
			return;
		}
		var input = qs('input.edit', listItem);
		listItem.removeChild(input);
		listItem.className = listItem.className.replace('editing', '');
		qsa('label', listItem).forEach(function (label) {
			label.textContent = title;
		});
	}
_editItemDone ( id , title ) { var listItem = qs ( '[data-id="' + id + '"]' ) ; if ( ! listItem ) { return ; } var input = qs ( 'input.edit' , listItem ) ; listItem . removeChild ( input ) ; listItem . className = listItem . className . replace ( 'editing' , '' ) ; qsa ( 'label' , listItem ) . forEach ( function ( label ) { label . textContent = title ; } ) ; }
Private method that handles replacement of a todo content once edited
 @param {number} id The id of the edited todo
 @param {string} title The title of the edited todo
Private method that handles replacement of a todo content once edited @param { number } id The id of the edited todo @param { string } title The title of the edited todo