1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-31 20:11:59 +02:00

cross-platform environment casing

This commit is contained in:
Pomax
2017-03-21 11:32:42 -07:00
parent 77af5dd6ca
commit abad38ecd6
2 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ var filedata = [
'\\usepackage{unicode-math}'
]
if (process.env.locale === 'zh-CN') {
if (process.env.LOCALE === 'zh-CN') {
filedata = filedata.concat([
'\\usepackage{xeCJK}',
'\\xeCJKsetup{CJKmath=true}',
@@ -75,7 +75,7 @@ if (process.env.locale === 'zh-CN') {
]);
}
if (process.env.locale === 'ja-JP') {
if (process.env.LOCALE === 'ja-JP') {
filedata = filedata.concat([
'\\usepackage{xeCJK}',
'\\xeCJKsetup{CJKmath=true}',