example/public/ueditor/third-party/highcharts/highcharts.src.js
function (src, x, y, width, height) {
		var attribs = {
				preserveAspectRatio: NONE
			},
			elemWrapper;

		// optional properties
		if (arguments.length > 1) {
			extend(attribs, {
				x: x,
				y: y,
				width: width,
				height: height
			});
		}

		elemWrapper = this.createElement('image').attr(attribs);

		// set the href in the xlink namespace
		if (elemWrapper.element.setAttributeNS) {
			elemWrapper.element.setAttributeNS('http://www.w3.org/1999/xlink',
				'href', src);
		} else {
			// could be exporting in IE
			// using href throws "not supported" in ie7 and under, requries regex shim to fix later
			elemWrapper.element.setAttribute('hc-svg-href', src);
	}

		return elemWrapper;
	}
function (src, x, y, width, height) {
		var attribs = {
				preserveAspectRatio: NONE
			},
			elemWrapper;

		// optional properties
		if (arguments.length > 1) {
			extend(attribs, {
				x: x,
				y: y,
				width: width,
				height: height
			});
		}

		elemWrapper = this.createElement('image').attr(attribs);

		// set the href in the xlink namespace
		if (elemWrapper.element.setAttributeNS) {
			elemWrapper.element.setAttributeNS('http://www.w3.org/1999/xlink',
				'href', src);
		} else {
			// could be exporting in IE
			// using href throws "not supported" in ie7 and under, requries regex shim to fix later
			elemWrapper.element.setAttribute('hc-svg-href', src);
	}

		return elemWrapper;
	}
function ( src , x , y , width , height ) { var attribs = { preserveAspectRatio : NONE } , elemWrapper ; // optional properties if ( arguments . length > 1 ) { extend ( attribs , { x : x , y : y , width : width , height : height } ) ; } elemWrapper = this . createElement ( 'image' ) . attr ( attribs ) ; // set the href in the xlink namespace if ( elemWrapper . element . setAttributeNS ) { elemWrapper . element . setAttributeNS ( 'http://www.w3.org/1999/xlink' , 'href' , src ) ; } else { // could be exporting in IE // using href throws "not supported" in ie7 and under, requries regex shim to fix later elemWrapper . element . setAttribute ( 'hc-svg-href' , src ) ; } return elemWrapper ; }
Display an image
@param {String} src
@param {Number} x
@param {Number} y
@param {Number} width
@param {Number} height
Display an image