example/public/ueditor/third-party/highcharts/highcharts.src.js
function destroyObjectProperties(obj, except) {
	var n;
	for (n in obj) {
		// If the object is non-null and destroy is defined
		if (obj[n] && obj[n] !== except && obj[n].destroy) {
			// Invoke the destroy
			obj[n].destroy();
		}

		// Delete the property from the object.
		delete obj[n];
	}
}
function destroyObjectProperties(obj, except) {
	var n;
	for (n in obj) {
		// If the object is non-null and destroy is defined
		if (obj[n] && obj[n] !== except && obj[n].destroy) {
			// Invoke the destroy
			obj[n].destroy();
		}

		// Delete the property from the object.
		delete obj[n];
	}
}
function destroyObjectProperties ( obj , except ) { var n ; for ( n in obj ) { // If the object is non-null and destroy is defined if ( obj [ n ] && obj [ n ] !== except && obj [ n ] . destroy ) { // Invoke the destroy obj [ n ] . destroy ( ) ; } // Delete the property from the object. delete obj [ n ] ; } }
Utility method that destroys any SVGElement or VMLElement that are properties on the given object.
It loops all properties and invokes destroy if there is a destroy method. The property is
then delete'ed.
@param {Object} The object to destroy properties on
@param {Object} Exception, do not destroy this property, only delete it.
Utility method that destroys any SVGElement or VMLElement that are properties on the given object . It loops all properties and invokes destroy if there is a destroy method . The property is then delete ed .