Renamed char (reserved word in ES3)
This commit is contained in:
@@ -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