aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/finalPropName.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/finalPropName.js')
-rw-r--r--src/css/finalPropName.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/css/finalPropName.js b/src/css/finalPropName.js
index b11e92394..f040e6976 100644
--- a/src/css/finalPropName.js
+++ b/src/css/finalPropName.js
@@ -1,8 +1,7 @@
import { document } from "../var/document.js";
var cssPrefixes = [ "Webkit", "Moz", "ms" ],
- emptyStyle = document.createElement( "div" ).style,
- vendorProps = {};
+ emptyStyle = document.createElement( "div" ).style;
// Return a vendor-prefixed property or undefined
function vendorPropName( name ) {
@@ -21,13 +20,8 @@ function vendorPropName( name ) {
// Return a potentially-mapped vendor prefixed property
export function finalPropName( name ) {
- var final = vendorProps[ name ];
-
- if ( final ) {
- return final;
- }
if ( name in emptyStyle ) {
return name;
}
- return vendorProps[ name ] = vendorPropName( name ) || name;
+ return vendorPropName( name ) || name;
}