-
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.
Merge pull request #38 from juno7803/master
feat: apply prettier
- Loading branch information
Showing
15 changed files
with
5,048 additions
and
473 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": ["es2015"] | ||
} | ||
"presets": ["es2015"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.vscode | ||
node_modules | ||
README.md | ||
inko.min.js |
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 @@ | ||
module.exports = { | ||
trailingComma: 'es5', | ||
tabWidth: 2, | ||
printWidth: 80, | ||
semi: true, | ||
singleQuote: 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,3 @@ | ||
{ | ||
"recommendations": ["esbenp.prettier-vscode"] | ||
} |
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,3 @@ | ||
{ | ||
"editor.formatOnSave": 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
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,32 +1,47 @@ | ||
<!Doctype html> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/inko@1.1.1/inko.min.js"></script> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, shrink-to-fit=no" | ||
/> | ||
<script | ||
type="text/javascript" | ||
src="https://cdn.jsdelivr.net/npm/inko@1.1.1/inko.min.js" | ||
></script> | ||
<title>example</title> | ||
</head> | ||
<body> | ||
<script> | ||
var inko = new Inko(); | ||
function englishToKorean(text) { | ||
document.getElementById("koreanOutput").innerHTML = inko.en2ko(text); | ||
} | ||
</head> | ||
<body> | ||
<script> | ||
var inko = new Inko(); | ||
function englishToKorean(text) { | ||
document.getElementById('koreanOutput').innerHTML = inko.en2ko(text); | ||
} | ||
|
||
function koreanToEnglish(text) { | ||
document.getElementById("englishOutput").innerHTML = inko.ko2en(text); | ||
} | ||
</script> | ||
<h1>inko.js EXAMPLE HTML</h1> | ||
<h2>์ํ -> ํ๊ธ</h2> | ||
<textarea id="englishInput" type="text" onkeyup="englishToKorean(this.value)" value=""></textarea> | ||
<br /> | ||
<div id="koreanOutput"></div> | ||
function koreanToEnglish(text) { | ||
document.getElementById('englishOutput').innerHTML = inko.ko2en(text); | ||
} | ||
</script> | ||
<h1>inko.js EXAMPLE HTML</h1> | ||
<h2>์ํ -> ํ๊ธ</h2> | ||
<textarea | ||
id="englishInput" | ||
type="text" | ||
onkeyup="englishToKorean(this.value)" | ||
value="" | ||
></textarea> | ||
<br /> | ||
<div id="koreanOutput"></div> | ||
|
||
<h2>ํํ -> ์์ด</h2> | ||
<textarea id="koreanInput" type="text" onkeyup="koreanToEnglish(this.value)" value=""></textarea> | ||
<br /> | ||
<div id="englishOutput"></div> | ||
|
||
</body> | ||
</html> | ||
<h2>ํํ -> ์์ด</h2> | ||
<textarea | ||
id="koreanInput" | ||
type="text" | ||
onkeyup="koreanToEnglish(this.value)" | ||
value="" | ||
></textarea> | ||
<br /> | ||
<div id="englishOutput"></div> | ||
</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
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,4 +1,3 @@ | ||
|
||
export interface InkoOption { | ||
allowDoubleConsonant?: boolean; | ||
} | ||
|
Oops, something went wrong.