[core] Render fill-extrusion layers (#8431)

This commit is contained in:
Lauren Budorick
2017-04-27 15:56:55 -07:00
committed by GitHub
parent 839ad87f37
commit f6e79d7073
111 changed files with 4855 additions and 235 deletions

View File

@@ -22,6 +22,10 @@ global.snakeCaseUpper = function snakeCaseUpper(str) {
return str.replace(/-/g, "_").toUpperCase();
};
global.unhyphenate = function (str) {
return str.replace(/-/g, " ");
};
global.writeIfModified = function(filename, newContent) {
try {
const oldContent = fs.readFileSync(filename, 'utf8');