Skip to content

Commit 02bdf8e

Browse files
committed
Create debug server sample, add base modules
1 parent 03c3e38 commit 02bdf8e

16 files changed

+1885
-176
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules/*
22
npm-debug.log
33
.idea/
4-
.DS_Store
4+
.DS_Store

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npm i --save-dev codex.editor.image
1919
Include module at your application
2020

2121
```javascript
22-
const Image = require('codex.editor.image');
22+
const ImageTool = require('codex.editor.image');
2323
```
2424

2525
### Download to your project's source dir
@@ -50,10 +50,9 @@ var editor = CodexEditor({
5050
tools: {
5151
...
5252
image: {
53-
class: Image,
53+
class: ImageTool,
5454
config: {
5555
url: 'http://localhost:3000/uploadImage',
56-
types: 'image/*'
5756
}
5857
}
5958
}

dist/bundle.js

+1,327-1
Large diffs are not rendered by default.

package-lock.json

+228
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "webpack --config ./webpack.config.js --mode production --watch"
1515
},
1616
"author": {
17-
"name": "CodeX Team",
17+
"name": "CodeX",
1818
"email": "team@ifmo.su"
1919
},
2020
"devDependencies": {
@@ -23,7 +23,10 @@
2323
"babel-loader": "^7.1.5",
2424
"babel-preset-env": "^1.7.0",
2525
"css-loader": "^1.0.0",
26+
"formidable": "^1.2.1",
27+
"postcss-loader": "^3.0.0",
2628
"style-loader": "^0.21.0",
29+
"svg-inline-loader": "^0.8.0",
2730
"webpack": "^4.16.3",
2831
"webpack-cli": "^3.1.0"
2932
},

0 commit comments

Comments
 (0)