Skip to content

Commit

Permalink
- fixes ”TypeError: Path must be a string" after break from project
Browse files Browse the repository at this point in the history
webpack/webpack#2463 (comment)
- includes missing jquery as devDep
- upgrades some other deps
- improves README
  • Loading branch information
fritx committed Dec 14, 2016
1 parent 79c43f5 commit c7d3caa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- [x] Filter/Scroll/Insert/Delete
- [x] Keyboard/Mouse events
- [x] Plain-Text based, no jquery, no extra nodes
- [x] Plain-text based, no jQuery, no extra nodes
- [x] ContentEditable
- [ ] Textarea

Expand All @@ -15,9 +15,9 @@
- It is [buggy][buggy].
- It seems like out of maintainment.
- It is based on jQuery.
- Its code is like "Spaghetti" and hard to read or modify.
- Its code is like "Spaghetti" and hard to read.

Finally I lost interest in [patching it][buggy] and ended up creating my at library.
Finally I lost interest in [patching it][buggy] and ended up creating my At-library.

```jsx
import Editor from 'react-editor'
Expand All @@ -27,6 +27,10 @@ const members = ['Roxie Miles', 'grace.carroll', '小浩']
<At members={members}>
<Editor />
</At>

<At members={members}>
<div contentEditable />
</At>
```

[at.js]: https://github.com/ichord/At.js
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,28 @@
"demo": "webpack -w --progress --config task/webpack.config.demo"
},
"devDependencies": {
"babel-core": "^6.3.26",
"babel-core": "^6.20.0",
"babel-eslint": "^4.1.8",
"babel-loader": "^6.2.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"babel-loader": "^6.2.9",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"clean-webpack-plugin": "^0.1.14",
"css-loader": "^0.23.1",
"eslint": "^1.10.3",
"eslint-config-rackt": "^1.1.1",
"eslint-loader": "^1.3.0",
"eslint-plugin-react": "^3.16.1",
"html-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^2.24.1",
"jquery": "^3.1.1",
"node-sass": "^3.13.0",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"react-editor": "^1.2.11",
"sass-loader": "^4.0.2",
"style-loader": "^0.13.0",
"webpack": "^1.12.9",
"webpack-notifier": "^1.2.1"
"webpack": "^1.14.0",
"webpack-notifier": "^1.4.1"
},
"peerDependencies": {
"react": "*",
Expand Down

0 comments on commit c7d3caa

Please sign in to comment.