Skip to content

Commit

Permalink
Init prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Snafkin547 committed Mar 27, 2024
1 parent eac978a commit edbbb0c
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tutorials
docs
coverage
demos
.circleci
.github
.travis.yml
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
24 changes: 23 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier:fix": "",
"tutorial": "npm install && cd tutorials && node index.js",
"build": "browserify lib/jiff-client.js --debug -s JIFFClient -o dist/jiff-client.js && browserify lib/ext/jiff-client-websockets.js --debug -s jiff_websockets -o dist/jiff-client-websockets.js"
},
Expand Down Expand Up @@ -76,6 +77,7 @@
"marked": "^4.0.10",
"minimist": "^1.2.0",
"mocha": "^4.1.0",
"neptune-notebook": "^1.3.1"
"neptune-notebook": "^1.3.1",
"prettier": "3.2.5"
}
}
9 changes: 5 additions & 4 deletions tests/dev/communication-test/client.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
</head>
<body>
<h1>Connect JIFF</h1>
<label for="computation_id">Computation ID</label><input id="computation_id" value="test"></input><br/><br/>
<label for="count">Party Count<label> <input id="count" pattern="[0-9]*" value="2"> &nbsp; <button id="connectButton" onclick="connect();">Connect</button>
<br/><br/>
<label for="computation_id">Computation ID</label>
<input id="computation_id" value="test"/><br/>
<label for="count">Party Count</label> <input id="count" pattern="[0-9]*" value="2"/> &nbsp; <button id="connectButton" onclick="connect();">Connect</button>
<br/>
<hr/>
<h1>Sum Numbers under MPC</h1>
<label for="number">Input Number (between 0 and 100)</label> <input id="number" pattern="[0-9]+"> &nbsp; <button onclick="submit();" disabled="disabled" id="button">Sum</button><br/>
<label for="number">Input Number (between 0 and 100)</label> <input id="number" pattern="[0-9]+"/> &nbsp; <button onclick="submit();" disabled="disabled" id="button">Sum</button><br/>
<div id="output"></div>
</body>
</html>
2 changes: 1 addition & 1 deletion tests/live/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
<body>
Code in the console!
</body>
<script
<script></script>
</html>

0 comments on commit edbbb0c

Please sign in to comment.