example/public/ueditor/third-party/highcharts/highcharts.src.js
function discardElement(element) {
	// create a garbage bin element, not part of the DOM
	if (!garbageBin) {
		garbageBin = createElement(DIV);
	}

	// move the node and empty bin
	if (element) {
		garbageBin.appendChild(element);
	}
	garbageBin.innerHTML = '';
}
function discardElement(element) {
	// create a garbage bin element, not part of the DOM
	if (!garbageBin) {
		garbageBin = createElement(DIV);
	}

	// move the node and empty bin
	if (element) {
		garbageBin.appendChild(element);
	}
	garbageBin.innerHTML = '';
}
function discardElement ( element ) { // create a garbage bin element, not part of the DOM if ( ! garbageBin ) { garbageBin = createElement ( DIV ) ; } // move the node and empty bin if ( element ) { garbageBin . appendChild ( element ) ; } garbageBin . innerHTML = '' ; }
Discard an element by moving it to the bin and delete
@param {Object} The HTML node to discard
Discard an element by moving it to the bin and delete