Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf07f1c7

Browse files
authored
Merge pull request#7626 from plotly/cam/7625/update-schema-build-script
refactor: Update script to generate schema JSON with 2 space indentation
2 parents9f2569b +c211fc7 commitf07f1c7

File tree

2 files changed

+97859
-97859
lines changed

2 files changed

+97859
-97859
lines changed

‎tasks/schema.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ function makeSchema(plotlyPath, schemaPath) {
4242
constPlotly=plotlyNode(plotlyPath);
4343
constobj=Plotly.PlotSchema.get();
4444
constsortedObj=sortObject(obj);
45-
constplotSchemaRaw=JSON.stringify(obj,null,1);
46-
constplotSchemaStr=JSON.stringify(sortedObj,null,1);
45+
constplotSchemaRaw=JSON.stringify(obj,null,2);
46+
constplotSchemaStr=JSON.stringify(sortedObj,null,2);
4747

4848
fs.writeFileSync(schemaPath,plotSchemaStr);
4949

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp