-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixup prettier config and fix formatting issues
- Loading branch information
Showing
28 changed files
with
487 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"printWidth": 80, | ||
"trailingComma": "all", | ||
"bracketSameLine": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
**/.git | ||
**/.svn | ||
**/.hg | ||
**/node_modules | ||
build/ | ||
debug/kicanvas | ||
docs/site | ||
.github/ | ||
.vscode/ | ||
CODE_OF_CONDUCT.md | ||
package-lock.json | ||
src/kicad/text/newstroke-glyphs.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
{ | ||
"tabWidth": 4, | ||
"useTabs": false, | ||
"printWidth": 80, | ||
"trailingComma": "all", | ||
"bracketSameLine": true, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.js", | ||
"*.ts" | ||
], | ||
"options": { | ||
"parser": "typescript" | ||
} | ||
} | ||
] | ||
"tabWidth": 4, | ||
"useTabs": false, | ||
"printWidth": 80, | ||
"trailingComma": "all", | ||
"bracketSameLine": true, | ||
"overrides": [ | ||
{ | ||
"files": ["*.js", "*.ts"], | ||
"options": { | ||
"parser": "typescript" | ||
} | ||
}, | ||
{ | ||
"files": ["tsconfig.json"], | ||
"options": { | ||
"parser": "json5", | ||
"quoteProps": "preserve" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="./style.css" /> | ||
<!-- <script src="https://greggman.github.io/webgl-lint/webgl-lint.js"></script> --> | ||
</head> | ||
|
||
<head> | ||
<link rel="stylesheet" href="./style.css" /> | ||
<!-- <script src="https://greggman.github.io/webgl-lint/webgl-lint.js"></script> --> | ||
</head> | ||
|
||
<body> | ||
|
||
<body> | ||
<kc-kicanvas-shell id="kicanvas" src="examples/dimensions.kicad_pcb"></kc-kicanvas-shell> | ||
</body> | ||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
</body> | ||
|
||
<body> | ||
<body> | ||
<kc-kicanvas-shell | ||
id="kicanvas" | ||
src="examples/dimensions.kicad_pcb"></kc-kicanvas-shell> | ||
</body> | ||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,61 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="./embedded-style.css" /> | ||
</head> | ||
|
||
<head> | ||
<link rel="stylesheet" href="./embedded-style.css"> | ||
</head> | ||
|
||
<body> | ||
<main> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation | ||
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint | ||
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<kicanvas-embed src="examples/helium.kicad_sch" controls="basic" controlslist="download nofullscreen"> | ||
</kicanvas-embed> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation | ||
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint | ||
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<kicanvas-embed src="examples/starfish.kicad_pcb" controls="full"> | ||
</kicanvas-embed> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation | ||
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint | ||
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<kicanvas-embed> | ||
<kicanvas-source src="examples/mcu.kicad_sch"></kicanvas-source> | ||
<kicanvas-source src="examples/analogins.kicad_sch"></kicanvas-source> | ||
</kicanvas-embed> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation | ||
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint | ||
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
</main> | ||
</body> | ||
|
||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
<body> | ||
<main> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut | ||
enim ad minim veniam, quis nostrud exercitation ullamco laboris | ||
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor | ||
in reprehenderit in voluptate velit esse cillum dolore eu fugiat | ||
nulla pariatur. Excepteur sint occaecat cupidatat non proident, | ||
sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<kicanvas-embed | ||
src="examples/helium.kicad_sch" | ||
controls="basic" | ||
controlslist="download nofullscreen"> | ||
</kicanvas-embed> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut | ||
enim ad minim veniam, quis nostrud exercitation ullamco laboris | ||
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor | ||
in reprehenderit in voluptate velit esse cillum dolore eu fugiat | ||
nulla pariatur. Excepteur sint occaecat cupidatat non proident, | ||
sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<kicanvas-embed src="examples/starfish.kicad_pcb" controls="full"> | ||
</kicanvas-embed> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut | ||
enim ad minim veniam, quis nostrud exercitation ullamco laboris | ||
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor | ||
in reprehenderit in voluptate velit esse cillum dolore eu fugiat | ||
nulla pariatur. Excepteur sint occaecat cupidatat non proident, | ||
sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
<kicanvas-embed> | ||
<kicanvas-source src="examples/mcu.kicad_sch"></kicanvas-source> | ||
<kicanvas-source | ||
src="examples/analogins.kicad_sch"></kicanvas-source> | ||
</kicanvas-embed> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut | ||
enim ad minim veniam, quis nostrud exercitation ullamco laboris | ||
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor | ||
in reprehenderit in voluptate velit esse cillum dolore eu fugiat | ||
nulla pariatur. Excepteur sint occaecat cupidatat non proident, | ||
sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
</main> | ||
</body> | ||
|
||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="./style.css" /> | ||
</head> | ||
|
||
<head> | ||
<link rel="stylesheet" href="./style.css" /> | ||
</head> | ||
|
||
<body> | ||
<kc-kicanvas-shell id="kicanvas"></kc-kicanvas-shell> | ||
</body> | ||
|
||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
<body> | ||
<kc-kicanvas-shell id="kicanvas"></kc-kicanvas-shell> | ||
</body> | ||
|
||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="./style.css" /> | ||
</head> | ||
|
||
<head> | ||
<link rel="stylesheet" href="./style.css"> | ||
</head> | ||
|
||
<body> | ||
<kc-kicanvas-shell id="kicanvas" src="./examples/helium.kicad_sch"></kc-kicanvas-shell> | ||
</body> | ||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
|
||
<body> | ||
<kc-kicanvas-shell | ||
id="kicanvas" | ||
src="./examples/helium.kicad_sch"></kc-kicanvas-shell> | ||
</body> | ||
<script type="module" src="./kicanvas/kicanvas.js"></script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.