nl_tokens: Split snippet into a CSS property - value pair
pl_tokens: 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 ( <mask> . shift ( ) ) , // replace ${0} tabstop to produce valid vendor-prefixed values // where possible value : utils . trim ( pair . join ( ':' ) ) . replace ( / ^(\$\{0\}|\$0)(\s*;?)$ / , '${1}$2' ) } ; }