Commit Graph

535 Commits

Author SHA1 Message Date
eight
d28520490a Fix: move dom event block to top 2018-09-02 12:38:30 +08:00
eight
ae60293e00 Fix: one-liner 2018-09-02 12:37:22 +08:00
eight
6f26fb4461 Fix: one-liner 2018-09-02 12:26:49 +08:00
eight
321811cb5d Fix: requestId -> id 2018-09-02 12:23:52 +08:00
eight
85bddff7a9 Fix: eslint-disable-line -> eslint-disable-next-line 2018-09-02 12:21:55 +08:00
eight
9cfc812fcc Fix: use proxy to reflect API 2018-09-02 12:18:58 +08:00
eight
bb3f9e28e0 Fix: return object code style 2018-09-02 12:13:41 +08:00
eight
b6df55b1fe Fix: expose some simple states to global 2018-09-02 12:08:53 +08:00
eight
a7ccda3aad Fix: drop isEmpty 2018-09-01 21:38:38 +08:00
eight
8894934290 Fix: i < trs.length 2018-09-01 21:37:01 +08:00
eight
d335c87601 Fix: cache metaIndex 2018-09-01 21:34:44 +08:00
eight
e3316aa811 Fix: use cacheFirstCall 2018-09-01 21:29:33 +08:00
eight
525498ea9a Fix: cacheFn -> cacheFirstCall 2018-09-01 21:26:36 +08:00
eight
f5ea73caeb Fix: remove unneeded comment 2018-09-01 21:23:12 +08:00
eight
ca5c0e92cd Switch to new linter/worker 2018-09-01 19:12:24 +08:00
eight
054d94ebd2 Add: updateCount. Fix table caption 2018-09-01 19:12:04 +08:00
eight
f42e97d71d Fix: hide empty table 2018-09-01 19:11:06 +08:00
eight
e44b5008ca Add: refresh. Fix report order 2018-09-01 18:59:47 +08:00
eight
bd29c07090 Drop lint.js 2018-09-01 18:28:21 +08:00
eight
eb76861fad Add: use cacheFn 2018-09-01 18:20:12 +08:00
eight
2e66ecca18 Add: linter-config-dialog, cacheFn 2018-09-01 18:19:39 +08:00
eight
0b039cb840 Drop linterConfig 2018-09-01 18:18:18 +08:00
eight
259f1d784b Add: linter-help-dialog 2018-09-01 15:52:30 +08:00
eight
d8c9bc8379 Fix: shouldn't delete rule.init 2018-09-01 15:51:56 +08:00
eight
60776fc782 Add: gotoLintIssue 2018-09-01 15:05:29 +08:00
eight
5ec82adaf9 Add: unhook event 2018-09-01 14:47:54 +08:00
eight
30fb084d4d Add: matain the order of lint report for section editor 2018-09-01 14:44:05 +08:00
eight
d57c327955 Fix: toggle hidden state 2018-09-01 14:23:25 +08:00
eight
f79b92c7b0 WIP: linter-report 2018-09-01 01:42:17 +08:00
eight
fe4cc7b59f Fix: logic to get correct linter 2018-08-31 23:17:42 +08:00
eight
ed3ec6215c Add: getStylelintRules, getCsslintRules 2018-08-31 22:50:15 +08:00
eight
3b4db6f858 Add: stylelint 2018-08-31 22:31:50 +08:00
eight
cb77774310 Fix: refresh linter if the editor.linter changes 2018-08-31 22:31:44 +08:00
eight
873c0cff4b Switch to new linter and worker 2018-08-31 20:01:39 +08:00
eight
af08f1ae23 Refactor: pull out editor worker 2018-08-31 20:00:21 +08:00
eight
fd01abe553 Add: implement new linter system 2018-08-31 19:59:40 +08:00
tophf
681176ce31 use showHelp.close when it's defined
fixes #485
2018-08-29 15:39:18 +03:00
tophf
2ac9a9db29 fix headerOnScroll 2018-08-24 14:31:29 +03:00
tophf
c0c5f1dbcc avoid overwriting existing usercss on saving a new one 2018-08-18 23:17:20 +03:00
tophf
adc165723c actually run restoreWindowScrollPos in a microtask 2018-08-16 18:09:50 +03:00
tophf
92d6530c8f simplify listener registration
since the function reference is constant, only one listener will be registered
2018-08-07 20:11:11 +03:00
tophf
eff0a7030c display only style name in the editor tab title
"Edit Style" was redundant and made the title unreadable when many tabs were opened.
"Add Style" is still displayed for the new styles.
2018-08-07 19:59:16 +03:00
tophf
bfb35e77b8 strip more trailing spaces in a custom usercss template 2018-08-06 20:56:33 +03:00
tophf
2db52c9e2d code cosmetics 2018-08-06 15:11:27 +03:00
tophf
f6a90ad166 suppress stylelint warning for stylus-lang's @css block
fixes #459
2018-08-06 15:10:42 +03:00
tophf
5f623f2f0e fill an empty @name with the default placeholder
fixes #462
2018-08-06 13:35:33 +03:00
tophf
e27636b93d preserve linebreaks in live-preview error text
fixes #460
2018-08-06 13:13:15 +03:00
tophf
5da1e0fb9b set onbeforeunload only when dirty
https://developers.google.com/web/updates/2018/07/page-lifecycle-api#legacy-lifecycle-apis-to-avoid
2018-08-02 20:54:40 +03:00
tophf
d3c8812e51 listen on newly added section's CodeMirror too 2018-08-02 01:44:10 +03:00
tophf
9cebf91e28 don't call updatePreview twice for the same input event 2018-08-02 00:46:14 +03:00