src/js/libs/spiritual-gui.js
function(prop) {
			var vendors = this._vendors,
				fixt = prop;
			var element = document.documentElement;
			prop = String(prop);
			if (prop.startsWith("-beta-")) {
				vendors.every(function(vendor) {
					var test = this._camelcase(prop.replace("-beta-", vendor));
					if (element.style[test] !== undefined) {
						fixt = test;
						return false;
					}
					return true;
				}, this);
			} else {
				fixt = this._camelcase(fixt);
			}
			return fixt;
		}
function(prop) {
			var vendors = this._vendors,
				fixt = prop;
			var element = document.documentElement;
			prop = String(prop);
			if (prop.startsWith("-beta-")) {
				vendors.every(function(vendor) {
					var test = this._camelcase(prop.replace("-beta-", vendor));
					if (element.style[test] !== undefined) {
						fixt = test;
						return false;
					}
					return true;
				}, this);
			} else {
				fixt = this._camelcase(fixt);
			}
			return fixt;
		}
function ( prop ) { var vendors = this . _vendors , fixt = prop ; var element = document . documentElement ; prop = String ( prop ) ; if ( prop . startsWith ( "-beta-" ) ) { vendors . every ( function ( vendor ) { var test = this . _camelcase ( prop . replace ( "-beta-" , vendor ) ) ; if ( element . style [ test ] !== undefined ) { fixt = test ; return false ; } return true ; } , this ) ; } else { fixt = this . _camelcase ( fixt ) ; } return fixt ; }
Normalize declaration property for use in element.style scenario.
@param {String} prop
@returns {String}
Normalize declaration property for use in element . style scenario .