lib/resolver/css.js
function findVendorPrefixes(property) {
		var prefixes = ciu.resolvePrefixes(property);
		if (!prefixes) {
			// Can I Use database is disabled or prefixes are not
			// available for this property
			prefixes = [];
			Object.keys(vendorPrefixes).forEach(function(key) {
				if (hasPrefix(property, key)) {
					prefixes.push(vendorPrefixes[key].prefix);
				}
			});

			if (!prefixes.length) {
				prefixes = null;
			}
		}

		return prefixes;
	}
function findVendorPrefixes(property) {
		var prefixes = ciu.resolvePrefixes(property);
		if (!prefixes) {
			// Can I Use database is disabled or prefixes are not
			// available for this property
			prefixes = [];
			Object.keys(vendorPrefixes).forEach(function(key) {
				if (hasPrefix(property, key)) {
					prefixes.push(vendorPrefixes[key].prefix);
				}
			});

			if (!prefixes.length) {
				prefixes = null;
			}
		}

		return prefixes;
	}
function findVendorPrefixes ( property ) { var prefixes = ciu . resolvePrefixes ( property ) ; if ( ! prefixes ) { // Can I Use database is disabled or prefixes are not // available for this property prefixes = [ ] ; Object . keys ( vendorPrefixes ) . forEach ( function ( key ) { if ( hasPrefix ( property , key ) ) { prefixes . push ( vendorPrefixes [ key ] . prefix ) ; } } ) ; if ( ! prefixes . length ) { prefixes = null ; } } return prefixes ; }
Finds available vendor prefixes for given CSS property.
Search is performed within Can I Use database and internal
property list
@param  {String} property CSS property name
@return {Array} Array of resolved prefixes or null if
prefixes are not available for this property at all.
Empty array means prefixes are not available for current
user-define era
Finds available vendor prefixes for given CSS property . Search is performed within Can I Use database and internal property list