code: function(gradient) {
  					if (cache[gradient]) {
  						return cache[gradient];
  					}
  					var parts = gradient.match(/^(\b|\B-[a-z]{1,10}-)((?:repeating-)?(?:linear|radial)-gradient)/);
  					// "", "-moz-", etc.
  					var prefix = parts && parts[1];
  					// "linear-gradient", "radial-gradient", etc.
  					var func = parts && parts[2];
  
  					var values = gradient.replace(/^(?:\b|\B-[a-z]{1,10}-)(?:repeating-)?(?:linear|radial)-gradient\(|\)$/g, '').split(/\s*,\s*/);
  
  					if (func.indexOf('linear') >= 0) {
  						return cache[gradient] = convertToW3CLinearGradient(prefix, func, values);
  					} else if (func.indexOf('radial') >= 0) {
  						return cache[gradient] = convertToW3CRadialGradient(prefix, func, values);
  					}
  					return cache[gradient] = func + '(' + values.join(',') + ')';
  				}
docs: Converts a gradient to a W3C-valid one
  Does not support old webkit syntax (-webkit-gradient(linear...) and -webkit-gradient(radial...))
  @param {string} gradient The CSS gradient