cesium-native/tools/generate-classes/makeIdentifier.js

6 lines
97 B
JavaScript
Raw Permalink Normal View History

2021-01-05 21:10:04 +08:00
function makeIdentifier(s) {
return s.replace(/\//g, "_");
2021-01-05 21:10:04 +08:00
}
module.exports = makeIdentifier;