Commit graph

40 commits

Author SHA1 Message Date
BoHong Li 5bc642d02e Use JavaScript Standard Style (part 2)
Fixed all fail on frontend code.
2017-03-09 02:41:05 +08:00
Yukai Huang 781f495f3e Convert synscroll to es6 2017-01-04 23:01:44 +08:00
Wu Cheng-Han 25fa503981 Fix viewAjaxCallback might be called on null 2016-11-01 15:04:48 +08:00
Wu Cheng-Han e311a1f620 Fix code block which in deeper level will not be parsed issue 2016-10-18 00:14:50 +08:00
Wu Cheng-Han 211d25253e Update to support wrap syntax for code block 2016-10-14 17:35:35 +08:00
Wu Cheng-Han ef5524be91 Fix sync scroll not handle properly on area resize 2016-10-14 00:25:08 +08:00
Yukai Huang 4713b4f2aa Fix syncscroll 2016-10-13 14:03:02 +08:00
Yukai Huang 6e651c8108 Merge branch 'master' into webpack-frontend 2016-10-11 18:40:23 +08:00
Wu Cheng-Han 1d1eedce7e Improve syntax highlighting performance by moving it to finish view 2016-10-10 20:45:49 +08:00
Yukai Huang 67d118782d Fix function export 2016-10-09 08:15:37 +08:00
Yukai Huang 963a435ae1 Resolve dependency module requiring
* es5 style module exports
* remove script tag require
* webpack config ProvidePlugin

Note that this commit only fix JavaScript module loading runtime error.
2016-10-08 20:02:30 +08:00
Wu Cheng-Han 38b1477736 Fix syncscroll.js and index.js have circular dependency cause Reference Errors 2016-09-18 16:51:19 +08:00
Cheng-Han, Wu f1db5c96f3 Fix to remove part class in list item or it will be included in buildMap process 2016-06-21 21:46:27 +08:00
Cheng-Han, Wu a1198339db Update syncscroll throttle to gain better and smoother UX 2016-06-17 16:28:57 +08:00
Cheng-Han, Wu 2c60f0dd67 Improve syncscroll performance and accuracy with few UX tweaks 2016-05-29 13:58:32 +08:00
Cheng-Han, Wu 5819e4007f Fix when scroll animate duration greater than debounce will cause scrolling flicking 2016-05-28 00:31:43 +08:00
Cheng-Han, Wu d90acf88e3 Update and fix editor might not sync scrolling from edit mode to both mode 2016-05-27 02:04:38 +08:00
Cheng-Han, Wu e9b0ce8e04 Update to improve sync scroll to edit performance and fix sync scroll behavior on many situations 2016-05-27 00:12:07 +08:00
Cheng-Han, Wu b28750f256 Update to improve syncscroll performance and add toggle for sync scrolling 2016-05-26 13:17:00 +08:00
Cheng-Han, Wu bf1dc237a9 Add support of sync scrolling to edit area 2016-05-25 13:25:05 +08:00
Cheng-Han, Wu 97befb6238 Fix on paste or cut text might trigger syncscroll 2016-05-16 23:02:59 +08:00
Cheng-Han, Wu 3718238277 Fixed editor changes will cause syncScrollToView 2016-04-20 16:16:07 +08:00
Cheng-Han, Wu 40f9206190 Fixed mobile layout issues and improved editor layout styles 2016-03-15 11:10:08 +08:00
Cheng-Han, Wu e729166c32 Updated to support container syntax and styles 2016-03-15 10:56:53 +08:00
Cheng-Han, Wu 109d9881d9 Fixed list_item_open rules of markdown-it rules in syncscoll should now check level number 2016-03-04 23:20:17 +08:00
Cheng-Han, Wu 2dc2fbe162 Change markdown engine from remarkable to markdown-it 2016-02-22 08:58:06 +08:00
Cheng-Han, Wu 6967dac0ff Updated syncscroll to lerp on last line 2016-02-11 14:36:05 -06:00
Cheng-Han, Wu 8db142554f Updated rendering operations to improve performance 2016-02-11 14:35:25 -06:00
Wu Cheng-Han 8af7841de3 Fixed syncscroll might have duplicated and wrong scrollMap if editor not shown 2016-01-12 07:47:02 -06:00
Wu Cheng-Han f23369ea9f Support specify or continue line number in code blocks 2015-10-22 17:15:44 +08:00
Wu Cheng-Han 2463a5126b Fixed syncScrollToView using wrong variable, added magic number 10 on building scrollMap 2015-09-25 18:17:08 +08:00
Wu Cheng-Han fe3950ec9c Optimized buildMap, now can parse whole doc below 10ms 2015-09-25 18:15:44 +08:00
Wu Cheng-Han 36451ddbe9 Moving markdown parser function from syncscroll.js to extra.js 2015-09-25 18:12:56 +08:00
Wu Cheng-Han 4e358cd6f4 Added back missing list item custom parsing 2015-09-25 18:10:36 +08:00
Wu Cheng-Han fa957db272 Updated updateView, now will updateHistory in editor changes event, support preventSyncScroll and workaround editor might scroll to no where on changes in the doc bottom 2015-09-25 18:05:50 +08:00
Wu Cheng-Han 17f89e9bd3 Optimized syncscroll.js buildMap, make it faster 2015-07-02 20:30:43 +08:00
Wu Cheng-Han f8ef5341c7 Optimized image rendering, avoid duplicated image load when content changed 2015-07-02 20:29:31 +08:00
Wu Cheng-Han 10c9811fc5 Jump to 0.3.1 2015-07-02 00:10:20 +08:00
Wu Cheng-Han f7f8c901f4 Marked as 0.2.9 2015-06-01 18:04:25 +08:00
Wu Cheng-Han 4e64583a0b Marked as 0.2.8 2015-05-15 12:58:13 +08:00