example/public/ueditor/third-party/highcharts/highcharts.src.js
function (params, options, complete) {
		var animOptions = pick(options, globalAnimation, true);
		stop(this); // stop regardless of animation actually running, or reverting to .attr (#607)
		if (animOptions) {
			animOptions = merge(animOptions);
			if (complete) { // allows using a callback with the global animation without overwriting it
				animOptions.complete = complete;
			}
			animate(this, params, animOptions);
		} else {
			this.attr(params);
			if (complete) {
				complete();
			}
		}
	}
function (params, options, complete) {
		var animOptions = pick(options, globalAnimation, true);
		stop(this); // stop regardless of animation actually running, or reverting to .attr (#607)
		if (animOptions) {
			animOptions = merge(animOptions);
			if (complete) { // allows using a callback with the global animation without overwriting it
				animOptions.complete = complete;
			}
			animate(this, params, animOptions);
		} else {
			this.attr(params);
			if (complete) {
				complete();
			}
		}
	}
function ( params , options , complete ) { var animOptions = pick ( options , globalAnimation , true ) ; stop ( this ) ; // stop regardless of animation actually running, or reverting to .attr (#607) if ( animOptions ) { animOptions = merge ( animOptions ) ; if ( complete ) { // allows using a callback with the global animation without overwriting it animOptions . complete = complete ; } animate ( this , params , animOptions ) ; } else { this . attr ( params ) ; if ( complete ) { complete ( ) ; } } }
Animate a given attribute
@param {Object} params
@param {Number} options The same options as in jQuery animation
@param {Function} complete Function to perform at the end of animation
Animate a given attribute