Renamed char (reserved word in ES3)
This commit is contained in:
1 parent
da3495beac
commit
fb3acbdbc2
1 file changed
+1
-1
@@ -1522,7 +1522,7 @@ OpenLayers.Util.getVendorPrefixedCss = (function() {
|
||||
|
||||
function domToCss(prefixedDom) {
|
||||
return prefixedDom.
|
||||
replace(/([A-Z])/g, function(char) { return "-" + char.toLowerCase(); }).
|
||||
replace(/([A-Z])/g, function(c) { return "-" + c.toLowerCase(); }).
|
||||
replace(/^ms-/, "-ms-");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user