├── .gitignore ├── .jshintrc ├── README.md ├── dist ├── winternote.css └── winternote.js ├── gulpfile.js ├── index.html ├── js ├── actions │ ├── NoteAction.js │ └── RenderAction.js ├── app.js ├── components │ ├── Cursor.js │ ├── Document.js │ ├── EditingArea.js │ ├── InputEditor.js │ ├── Note.js │ ├── Paragraph.js │ ├── Selection.js │ └── Textrun.js ├── constants │ └── NoteConstants.js ├── dispatcher │ └── NoteDispatcher.js ├── mockData.js ├── models │ ├── Document.js │ ├── Editor.js │ ├── Range.js │ ├── Selection.js │ ├── View.js │ └── __tests__ │ │ └── Document-test.js ├── stores │ ├── NoteStore.js │ └── ViewStore.js └── utils │ ├── agent.js │ ├── context.js │ ├── dom.js │ └── meter.js ├── less └── winternote.less └── package.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/.gitignore -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/.jshintrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/README.md -------------------------------------------------------------------------------- /dist/winternote.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/dist/winternote.css -------------------------------------------------------------------------------- /dist/winternote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/dist/winternote.js -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/gulpfile.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/index.html -------------------------------------------------------------------------------- /js/actions/NoteAction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/actions/NoteAction.js -------------------------------------------------------------------------------- /js/actions/RenderAction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/actions/RenderAction.js -------------------------------------------------------------------------------- /js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/app.js -------------------------------------------------------------------------------- /js/components/Cursor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/Cursor.js -------------------------------------------------------------------------------- /js/components/Document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/Document.js -------------------------------------------------------------------------------- /js/components/EditingArea.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/EditingArea.js -------------------------------------------------------------------------------- /js/components/InputEditor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/InputEditor.js -------------------------------------------------------------------------------- /js/components/Note.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/Note.js -------------------------------------------------------------------------------- /js/components/Paragraph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/Paragraph.js -------------------------------------------------------------------------------- /js/components/Selection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/Selection.js -------------------------------------------------------------------------------- /js/components/Textrun.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/components/Textrun.js -------------------------------------------------------------------------------- /js/constants/NoteConstants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/constants/NoteConstants.js -------------------------------------------------------------------------------- /js/dispatcher/NoteDispatcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/dispatcher/NoteDispatcher.js -------------------------------------------------------------------------------- /js/mockData.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/mockData.js -------------------------------------------------------------------------------- /js/models/Document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/models/Document.js -------------------------------------------------------------------------------- /js/models/Editor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/models/Editor.js -------------------------------------------------------------------------------- /js/models/Range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/models/Range.js -------------------------------------------------------------------------------- /js/models/Selection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/models/Selection.js -------------------------------------------------------------------------------- /js/models/View.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/models/View.js -------------------------------------------------------------------------------- /js/models/__tests__/Document-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/models/__tests__/Document-test.js -------------------------------------------------------------------------------- /js/stores/NoteStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/stores/NoteStore.js -------------------------------------------------------------------------------- /js/stores/ViewStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/stores/ViewStore.js -------------------------------------------------------------------------------- /js/utils/agent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/utils/agent.js -------------------------------------------------------------------------------- /js/utils/context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/utils/context.js -------------------------------------------------------------------------------- /js/utils/dom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/utils/dom.js -------------------------------------------------------------------------------- /js/utils/meter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/js/utils/meter.js -------------------------------------------------------------------------------- /less/winternote.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/less/winternote.less -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hackerwins/winternote/HEAD/package.json --------------------------------------------------------------------------------