Skip to content

Commit

Permalink
Fix indentation in NFTMarkerCreator.js and makem.js for improved read…
Browse files Browse the repository at this point in the history
…ability
  • Loading branch information
kalwalt committed Nov 18, 2024
1 parent 209be67 commit a150305
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/NFTMarkerCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ Module.onRuntimeInitialized = async function () {

console.log("Continue to Create NftDataSet..");
Module.createNftDataSet(
imageData.array,
imageData.array,
imageData.dpi,
imageData.sizeX,
imageData.sizeY,
imageData.nc,
paramStr,
paramStr,
);
console.log("Create NFT Dataset complete...");

Expand Down
6 changes: 3 additions & 3 deletions tools/makem.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

let exec = require("child_process").exec,
path = require("path"),
fs = require("fs");
fs = require("fs");

const HAVE_NFT = 1;

Expand Down Expand Up @@ -128,7 +128,7 @@ const SINGLE_FILE_FLAG = " -s SINGLE_FILE=1 ";
const BIND_FLAG = " --bind ";

const EXPORTED_FUNCTIONS =
' -s EXPORTED_FUNCTIONS=["_compressZip,_malloc,_free"] -s EXPORTED_RUNTIME_METHODS=["FS,stringToUTF8"] ';
' -s EXPORTED_FUNCTIONS=["_compressZip,_malloc,_free"] -s EXPORTED_RUNTIME_METHODS=["FS,stringToUTF8"] ';

/* DEBUG FLAGS */
let DEBUG_FLAGS = " -g ";
Expand Down Expand Up @@ -177,7 +177,7 @@ function clean_builds() {
}

const compile_arlib = format(
EMCC + " " + INCLUDES + " " + ar_sources.join(" ") + FLAGS + " " + DEFINES + " -r -o {OUTPUT_PATH}libar.o ",
EMCC + " " + INCLUDES + " " + ar_sources.join(" ") + FLAGS + " " + DEFINES + " -r -o {OUTPUT_PATH}libar.o ",
OUTPUT_PATH,
);

Expand Down

0 comments on commit a150305

Please sign in to comment.