Skip to content

Commit f6bd238

Browse files
authored
Merge pull request #387 from hackmdio/cm-refactor
Extract CodeMirror instance
2 parents f55a4b8 + 24f1413 commit f6bd238

6 files changed

Lines changed: 681 additions & 561 deletions

File tree

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ root = true
33
# Tab indentation
44
[*]
55
indent_style = space
6-
indent_size = 4
6+
indent_size = 2
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,27 @@
169169
"webpack-parallel-uglify-plugin": "^0.2.0"
170170
},
171171
"standard": {
172+
"globals": [
173+
"$",
174+
"CodeMirror",
175+
"Cookies",
176+
"moment", "editor",
177+
"ui",
178+
"Spinner",
179+
"modeType",
180+
"Idle",
181+
"serverurl",
182+
"key",
183+
"gapi",
184+
"Dropbox",
185+
"FilePicker",
186+
"ot",
187+
"MediaUploader",
188+
"hex2rgb",
189+
"num_loaded",
190+
"Visibility",
191+
"inlineAttachment"
192+
],
172193
"ignore": [
173194
"lib/ot",
174195
"public/vendor"

0 commit comments

Comments
 (0)