Commit Graph

2465 Commits

Author SHA1 Message Date
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
e7750e7ac9 Windows compatibility 2018-08-31 22:31:07 +08:00
eight
bf51fd2a6f Fix: undefined error 2018-08-31 20:05:27 +08:00
eight
740fddf027 Enable eslint cache 2018-08-31 20:05:11 +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
5933cf3586 CSSLint: add Q unit
https://www.w3.org/TR/css-values-3/#absolute-lengths
2018-08-30 13:41:26 +03:00
tophf
4f8953adde refresh the just edited style entry after history back 2018-08-30 09:23:55 +03:00
tophf
681176ce31 use showHelp.close when it's defined
fixes #485
2018-08-29 15:39:18 +03:00
tophf
8cf05ee185 make the hover effect less CPU-hungry
* it lagged even on a fast 4GHz i7 CPU + nVidia GPU
* the 'will-change' property didn't help and even increased memory consumption
2018-08-28 20:24:43 +03:00
tophf
af77b55eea fixup 2fdfd966
#482
2018-08-27 20:42:51 +03:00
tophf
2fdfd96699 use the new originalDigest in update UI
...when force-updating a locally edited style that turned out to be equal to the remote one

fixes #482
2018-08-27 20:39:36 +03:00
tophf
95524df6f4 code cosmetics: use :: for pseudo elements 2018-08-27 17:20:48 +03:00
tophf
699b5453fb emphasize data-skipped-edited main status message
thus visually separating it from the wall of text afterwards
2018-08-27 17:20:48 +03:00
tophf
f07e1b269e don't wrap the force-check button
* the label text is too long and contains meaningful info
* it's displayed only rarely in normal usage scenario
2018-08-27 17:19:45 +03:00
tophf
f09380af76 update locales 2018-08-25 20:25:15 +03:00
tophf
687dba8adb typo 2018-08-25 19:50:45 +03:00
tophf
6f53d20491 update package.json 2018-08-25 15:11:14 +03:00
tophf
ea594550a9 CodeMirror v5.40.0 2018-08-25 15:11:03 +03:00
tophf
0dbb55cc0c actually copy codemirror.js before patching 2018-08-25 15:10:14 +03:00
tophf
bfe18e74a4 FF bug workaround: set style element code in page context
fixes #461
2018-08-25 09:42:35 +03:00
tophf
2ac9a9db29 fix headerOnScroll 2018-08-24 14:31:29 +03:00
tophf
918debe110 fix show-more in old UI and simplify generation of targets 2018-08-24 14:02:31 +03:00