Skip to content

Commit

Permalink
Almost finished with #34 and #16
Browse files Browse the repository at this point in the history
  • Loading branch information
boginw committed Nov 12, 2017
1 parent 6a1121c commit bc0427a
Show file tree
Hide file tree
Showing 42 changed files with 1,090 additions and 796 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
root = true

[*]
indent_style = space
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
Expand Down
12 changes: 12 additions & 0 deletions app/images/dropbox-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions app/images/github-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions app/images/google-drive-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions app/images/npm-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions app/images/onedrive-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/images/trello-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@
"e2e": "mocha app/e2e.js.autogenerated --require source-map-support/register"
},
"dependencies": {
"@types/simplemde": "^1.11.7",
"assert": "^1.4.1",
"async": "^2.5.0",
"codemirror-widgets": "^1.4.2",
"download-npm-package": "^3.1.11",
"fs-jetpack": "^0.10.2",
"gulp-eslint": "^4.0.0",
"install": "^0.10.1",
"katex": "^0.7.1",
"material-icons": "^0.1.0",
"node-watch": "^0.5.5",
"npm": "^5.0.3",
"npm-run": "^4.1.2",
"run-sequence": "^1.2.2",
"plus.merge-text": "0.0.3",
"simplemde": "^1.11.2",
"superagent": "^3.5.2",
"typescript": "^2.2.1",
"webdriverio": "^4.8.0"
"typescript": "^2.2.1"
},
"devDependencies": {
"webdriverio": "^4.8.0",
"@types/codemirror": "0.0.40",
"@types/chai": "^4.0.1",
"@types/electron": "^1.4.33",
Expand Down Expand Up @@ -77,8 +77,7 @@
"source-map-support": "^0.4.2",
"spectron": "^3.3.0",
"ts-node": "^3.1.0",
"tslint": "^5.4.3",
"typings": "^2.1.1"
"tslint": "^5.4.3"
},
"plugins": {
"notable-editor-katex": "^0.0.2",
Expand Down
4 changes: 3 additions & 1 deletion src/PlugMan/IEditorPlugin.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { SimpleMDE } from "../interfaces";
import IPlugin from './IPlugin';
import Editor from '../modules/Editor/Editor';

export default interface IEditorPlugin extends IPlugin {
contains(plaintext: string): boolean;
preview(plaintext: string): string;
enable(md: SimpleMDE): void;
enable(editor: Editor): void;
stop(): void;
}
9 changes: 6 additions & 3 deletions src/PlugMan/ISyncPlugin.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import ISyncable from "../modules/Sync/ISyncable";
import IPlugin from './IPlugin';
import IIO from "../modules/IO/IIO";

export default interface ISyncPlugin extends ISyncable, IPlugin {

export default interface ISyncPlugin extends IPlugin, IIO {
sync():Promise<void>;
login():Promise<void>;
logout():Promise<void>;
isLoggedIn():Promise<boolean>;
}
5 changes: 5 additions & 0 deletions src/PlugMan/MetaPlugin.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default class MetaPlugin {
public name: string;
public version: string;
public config: any;
}
Loading

0 comments on commit bc0427a

Please sign in to comment.