Skip to content

Commit 5ebb42e

Browse files
committed
Whitespace fix.
1 parent 70a9d1c commit 5ebb42e

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,19 @@ const assimpjs = require ('../dist/assimpjs.js')();
123123
assimpjs.then ((ajs) => {
124124
// convert model
125125
let result = ajs.ConvertFile (
126-
// file name
127-
'cube_with_materials.obj',
128-
// file content as arraybuffer
129-
fs.readFileSync ('testfiles/cube_with_materials.obj'),
130-
// check if file exists by name
131-
function (fileName) {
132-
return fs.existsSync ('testfiles/' + fileName);
133-
},
134-
// get file content as arraybuffer by name
135-
function (fileName) {
136-
return fs.readFileSync ('testfiles/' + fileName);
137-
}
138-
);
126+
// file name
127+
'cube_with_materials.obj',
128+
// file content as arraybuffer
129+
fs.readFileSync ('testfiles/cube_with_materials.obj'),
130+
// check if file exists by name
131+
function (fileName) {
132+
return fs.existsSync ('testfiles/' + fileName);
133+
},
134+
// get file content as arraybuffer by name
135+
function (fileName) {
136+
return fs.readFileSync ('testfiles/' + fileName);
137+
}
138+
);
139139

140140
// check if the conversion succeeded
141141
if (!result.IsSuccess () || result.FileCount () == 0) {

examples/node_local_delay_load_test.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ const assimpjs = require ('../dist/assimpjs.js')();
44
assimpjs.then ((ajs) => {
55
// convert model
66
let result = ajs.ConvertFile (
7-
// file name
8-
'cube_with_materials.obj',
9-
// file content as arraybuffer
10-
fs.readFileSync ('testfiles/cube_with_materials.obj'),
11-
// check if file exists by name
12-
function (fileName) {
13-
return fs.existsSync ('testfiles/' + fileName);
14-
},
15-
// get file content as arraybuffer by name
16-
function (fileName) {
17-
return fs.readFileSync ('testfiles/' + fileName);
18-
}
19-
);
7+
// file name
8+
'cube_with_materials.obj',
9+
// file content as arraybuffer
10+
fs.readFileSync ('testfiles/cube_with_materials.obj'),
11+
// check if file exists by name
12+
function (fileName) {
13+
return fs.existsSync ('testfiles/' + fileName);
14+
},
15+
// get file content as arraybuffer by name
16+
function (fileName) {
17+
return fs.readFileSync ('testfiles/' + fileName);
18+
}
19+
);
2020

2121
// check if the conversion succeeded
2222
if (!result.IsSuccess () || result.FileCount () == 0) {

0 commit comments

Comments
 (0)