mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-10-30 04:21:17 +00:00
20 lines
715 B
JavaScript
20 lines
715 B
JavaScript
define(function() {
|
|
/**
|
|
* If the browsers follow the spec, then they would expose vendor-specific styles as:
|
|
* elem.style.WebkitBorderRadius
|
|
* instead of something like the following (which is technically incorrect):
|
|
* elem.style.webkitBorderRadius
|
|
*
|
|
* WebKit ghosts their properties in lowercase but Opera & Moz do not.
|
|
* Microsoft uses a lowercase `ms` instead of the correct `Ms` in IE8+
|
|
* erik.eae.net/archives/2008/03/10/21.48.10/
|
|
*
|
|
* More here: github.com/Modernizr/Modernizr/issues/issue/21
|
|
*
|
|
* @access private
|
|
* @returns {string} The string representing the vendor-specific style properties
|
|
*/
|
|
var omPrefixes = 'Moz O ms Webkit';
|
|
return omPrefixes;
|
|
});
|