function(snippet) {
			var utils = require('utils');
			snippet = utils.trim(snippet);
			if (snippet.indexOf(':') == -1) {
				return {
					name: snippet,
					value: defaultValue
				};
			}
			
			var pair = snippet.split(':');
			
			return {
				name: utils.trim(pair.shift()),
				// replace ${0} tabstop to produce valid vendor-prefixed values
				// where possible
				value: utils.trim(pair.join(':')).replace(/^(\$\{0\}|\$0)(\s*;?)$/, '${1}$2')
			};
		}
function(snippet) {
			var utils = require('utils');
			snippet = utils.trim(snippet);
			if (snippet.indexOf(':') == -1) {
				return {
					name: snippet,
					value: defaultValue
				};
			}
			
			var pair = snippet.split(':');
			
			return {
				name: utils.trim(pair.shift()),
				
				
				value: utils.trim(pair.join(':')).replace(/^(\$\{0\}|\$0)(\s*;?)$/, '${1}$2')
			};
		}
function ( snippet ) { var utils = require ( 'utils' ) ; snippet = utils . trim ( snippet ) ; if ( snippet . indexOf ( ':' ) == - 1 ) { return { name : snippet , value : defaultValue } ; } var pair = snippet . split ( ':' ) ; return { name : utils . trim ( pair . shift ( ) ) , // replace ${0} tabstop to produce valid vendor-prefixed values // where possible value : utils . trim ( pair . join ( ':' ) ) . replace ( / ^(\$\{0\}|\$0)(\s*;?)$ / , '${1}$2' ) } ; }
Split snippet into a CSS property-value pair
@param {String} snippet
Split snippet into a CSS property - value pair