lib/resolver/css.js
function findInternalPrefixes(property, noAutofill) {
		var result = [];
		var prefixes = findVendorPrefixes(property);
		
		if (prefixes) {
			var prefixMap = {};
			Object.keys(vendorPrefixes).forEach(function(key) {
				prefixMap[vendorPrefixes[key].prefix] = key;
			});

			result = prefixes.map(function(prefix) {
				return prefixMap[prefix];
			});
		}
		
		if (!result.length && !noAutofill) {
			// add all non-obsolete prefixes
			Object.keys(vendorPrefixes).forEach(function(prefix) {
				if (!vendorPrefixes[prefix].obsolete) {
					result.push(prefix);
				}
			});
		}
		
		return result;
	}
function findInternalPrefixes(property, noAutofill) {
		var result = [];
		var prefixes = findVendorPrefixes(property);
		
		if (prefixes) {
			var prefixMap = {};
			Object.keys(vendorPrefixes).forEach(function(key) {
				prefixMap[vendorPrefixes[key].prefix] = key;
			});

			result = prefixes.map(function(prefix) {
				return prefixMap[prefix];
			});
		}
		
		if (!result.length && !noAutofill) {
			// add all non-obsolete prefixes
			Object.keys(vendorPrefixes).forEach(function(prefix) {
				if (!vendorPrefixes[prefix].obsolete) {
					result.push(prefix);
				}
			});
		}
		
		return result;
	}
function findInternalPrefixes ( property , noAutofill ) { var result = [ ] ; var prefixes = findVendorPrefixes ( property ) ; if ( prefixes ) { var prefixMap = { } ; Object . keys ( vendorPrefixes ) . forEach ( function ( key ) { prefixMap [ vendorPrefixes [ key ] . prefix ] = key ; } ) ; result = prefixes . map ( function ( prefix ) { return prefixMap [ prefix ] ; } ) ; } if ( ! result . length && ! noAutofill ) { // add all non-obsolete prefixes Object . keys ( vendorPrefixes ) . forEach ( function ( prefix ) { if ( ! vendorPrefixes [ prefix ] . obsolete ) { result . push ( prefix ) ; } } ) ; } return result ; }
Search for a list of supported prefixes for CSS property. This list
is used to generate all-prefixed snippet
@param {String} property CSS property name
@returns {Array}
Search for a list of supported prefixes for CSS property . This list is used to generate all - prefixed snippet