lib/iris.js
/**
	* Only for CSS3 gradients. oldIE will use a separate function.
	*
	* Accepts as many color stops as necessary from 2nd arg on, or 2nd
	* arg can be an array of color stops
	*
	* @param  {string} origin Gradient origin - top or left, defaults to left.
	* @return {string}        Appropriate CSS3 gradient string for use in
	*/
Only for CSS3 gradients. oldIE will use a separate function.
Accepts as many color stops as necessary from 2nd arg on, or 2nd
arg can be an array of color stops

@param  {string} origin Gradient origin - top or left, defaults to left.
@return {string}        Appropriate CSS3 gradient string for use in
Only for CSS3 gradients . oldIE will use a separate function . Accepts as many color stops as necessary from 2nd arg on or 2nd arg can be an array of color stops @param { string } origin Gradient origin - top or left defaults to left . @return { string } Appropriate CSS3 gradient string for use in
function createGradient( origin, stops ) {
		origin = ( origin === 'top' ) ? 'top' : 'left';
		stops = $.isArray( stops ) ? stops : Array.prototype.slice.call( arguments, 1 );
		if ( gradientType === 'webkit' ) {
			return legacyWebkitGradient( origin, stops );
		} else {
			return vendorPrefixes[ gradientType ] + 'linear-gradient(' + origin + ', ' + stops.join(', ') + ')';
		}
	}
function createGradient ( origin , stops ) { origin = ( origin === 'top' ) ? 'top' : 'left' ; stops = $ . isArray ( stops ) ? stops : Array . prototype . slice . call ( arguments , 1 ) ; if ( gradientType === 'webkit' ) { return legacyWebkitGradient ( origin , stops ) ; } else { return vendorPrefixes [ gradientType ] + 'linear-gradient(' + origin + ', ' + stops . join ( ', ' ) + ')' ; } }
Only for CSS3 gradients.
Only for CSS3 gradients .