Skip to content

Commit

Permalink
Write some code
Browse files Browse the repository at this point in the history
  • Loading branch information
killercup committed May 26, 2016
1 parent d91437f commit 8cf4976
Show file tree
Hide file tree
Showing 14 changed files with 10,094 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
node_modules/
typings/

.vscode/
.DS_Store
.tmp
.swp
20 changes: 20 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>CK OSpell</title>
</head>

<body>
<textarea id="editor1" cols="30" rows="10"></textarea>

<script src="../node_modules/ckeditor/ckeditor.js"></script>
<script>
CKEDITOR.config.extraPlugins = 'language,scayt';
CKEDITOR.config.scayt_multiLanguageMode = true;
CKEDITOR.config.language_list = ['de:German'];
</script>
</body>

</html>
2 changes: 1 addition & 1 deletion docs/scayt-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

2. Open page with CKEditor and open developer tools
3. Activate spell checking (ABC + checkmark icon)
4. Analyse requests to host `svc.webspellchecker.net`
4. Analyse requests to hostname `svc.webspellchecker.net`

## Requests

Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("./server");
19 changes: 19 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "ck-ospell",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node server/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Pascal Hertleif <[email protected]> (http://pascalhertleif.de/)",
"license": "MIT",
"dependencies": {
"ckeditor": "^4.5.9",
"express": "^4.13.4",
"hfst-ospell-js": "github:killercup/hfst-ospell-js#6163612",
"morgan": "^1.7.0"
},
"devDependencies": {}
}
Loading

0 comments on commit 8cf4976

Please sign in to comment.