Skip to content

Commit b1891ad

Browse files
committed
trim spaces
1 parent 7cf9f1f commit b1891ad

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

contour.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function compileSurfaceProcedure(vertexFunc, faceFunc, phaseFunc, scalarArgs, or
8383

8484
//Assemble arguments
8585
for(var i=0; i<arrayArgs; ++i) {
86-
args.push(array(i))
86+
args.push(array(i))
8787
}
8888
for(var i=0; i<scalarArgs; ++i) {
8989
args.push(scalar(i))
@@ -183,7 +183,7 @@ function compileSurfaceProcedure(vertexFunc, faceFunc, phaseFunc, scalarArgs, or
183183

184184
function fillEmptySlice(k) {
185185
for(var i=k-1; i>=0; --i) {
186-
forLoopBegin(i, 0)
186+
forLoopBegin(i, 0)
187187
}
188188
var phaseFuncArgs = []
189189
for(var i=0; i<arrayArgs; ++i) {
@@ -223,9 +223,9 @@ function compileSurfaceProcedure(vertexFunc, faceFunc, phaseFunc, scalarArgs, or
223223
for(var i=0; i<scalarArgs; ++i) {
224224
phaseFuncArgs.push(scalar(i))
225225
}
226-
226+
227227
code.push(pcube(0), "=", PHASES, "[", POINTER, "]=phase(", phaseFuncArgs.join(), ");")
228-
228+
229229
//Read in other cube data
230230
for(var j=1; j<(1<<dimension); ++j) {
231231
code.push(pcube(j), "=", PHASES, "[", POINTER, "+", pdelta(j), "];")
@@ -297,7 +297,7 @@ function compileSurfaceProcedure(vertexFunc, faceFunc, phaseFunc, scalarArgs, or
297297
"face(", faceArgs.join(), ")}")
298298
}
299299
}
300-
300+
301301
//Increment pointer, close off if statement
302302
code.push("}",
303303
POINTER, "+=1;")
@@ -354,17 +354,17 @@ function compileSurfaceProcedure(vertexFunc, faceFunc, phaseFunc, scalarArgs, or
354354
"return ", funcName ].join("")
355355

356356
var proc = new Function(
357-
"vertex",
358-
"face",
359-
"phase",
360-
"mallocUint32",
357+
"vertex",
358+
"face",
359+
"phase",
360+
"mallocUint32",
361361
"freeUint32",
362362
procedureCode)
363363
return proc(
364-
vertexFunc,
365-
faceFunc,
366-
phaseFunc,
367-
pool.mallocUint32,
364+
vertexFunc,
365+
faceFunc,
366+
phaseFunc,
367+
pool.mallocUint32,
368368
pool.freeUint32)
369369
}
370370

0 commit comments

Comments
 (0)