Update creator-14.js

This commit is contained in:
Kyle
2021-04-30 09:27:05 -07:00
parent 8a495d7558
commit 81b8c9c248

View File

@@ -917,7 +917,7 @@ function widthToAngle(width, radius) {
return width / radius; return width / radius;
} }
function curlyQuotes(input) { function curlyQuotes(input) {
return input.replace(/ '/g, ' ').replace(/^'/, '').replace(/'/g, '').replace(/ "/g, ' “').replace(/" /g, '” ').replace(/\."/, '”').replace(/"$/, '”').replace(/"\)/g, '”)').replace(/"/g, '“'); return input.replace(/ '/g, ' ').replace(/^'/, '').replace(/'/g, '').replace(/ "/g, ' “').replace(/" /g, '” ').replace(/\."/, '.”').replace(/"$/, '”').replace(/"\)/g, '”)').replace(/"/g, '“');
} }
function pinlineColors(color) { function pinlineColors(color) {
return color.replace('white', '#fcfeff').replace('blue', '#0075be').replace('black', '#272624').replace('red', '#ef3827').replace('green', '#007b43') return color.replace('white', '#fcfeff').replace('blue', '#0075be').replace('black', '#272624').replace('red', '#ef3827').replace('green', '#007b43')