Commit Graph

76 Commits

Author SHA1 Message Date
Wu Cheng-Han 5287d46931 Optimize hackmd resource packing and load orders 2016-11-26 23:18:51 +08:00
Wu Cheng-Han 9383df59c9 Update socket.io to 1.6.0 2016-11-26 22:40:50 +08:00
Wu Cheng-Han b6ce7a6ab1 Update mathjax cdn path and source path 2016-10-25 01:57:51 +08:00
Wu Cheng-Han e6dfc749f6 Fix config.js use cdn option not parse properly and add missing cdn resources 2016-10-23 22:42:47 +08:00
Peter Dave Hello 58b2cff4ec Use CDNJS by default with https and SRI support 2016-10-23 13:31:25 +08:00
Wu Cheng-Han d70d0318e5 Fix to use bower version emojify.js 2016-10-19 22:12:12 +08:00
Yukai Huang 4c1109b70b Move gist-embed to CDN 2016-10-14 09:56:19 +08:00
Yukai Huang 142b4c6771 Move highlight.js to CDN 2016-10-14 09:21:41 +08:00
Yukai Huang 747502e694 Fix HTML exporting 2016-10-13 16:35:43 +08:00
Yukai Huang bcb12b9ae7 Remove jquery-scrollspy dependency
scrollspy is bootstrap built-in plugin
2016-10-13 15:30:26 +08:00
Yukai Huang 440ad3506c Fix lastchangeui and moment timestamps 2016-10-13 15:13:03 +08:00
Yukai Huang 83be3465cc Fix scrollspy 2016-10-13 13:59:34 +08:00
Yukai Huang 773c0ce39e Optimize common assets with CDN
* jquery
* lodash
* socket.io
* boostrap
2016-10-13 11:42:17 +08:00
Yukai Huang b90c26fe90 Config CDN for viz.js 2016-10-13 08:56:02 +08:00
Yukai Huang 2cafe15e85 Enable production assets hash 2016-10-12 17:15:59 +08:00
Yukai Huang 91266f1cad Load more scripts using webpack 2016-10-12 17:03:47 +08:00
Yukai Huang 02eef3f68a Load customized vendor script through script-loader 2016-10-12 13:18:29 +08:00
Yukai Huang 6e651c8108 Merge branch 'master' into webpack-frontend 2016-10-11 18:40:23 +08:00
Yukai Huang 56c5378939 Optimize viz.js async rendering through webpack chunk 2016-10-11 17:15:06 +08:00
Yukai Huang 06437ccaa9 Manage more packages with npm and webpack 2016-10-11 14:52:45 +08:00
Yukai Huang 9c8752d452 Split common vendor javascript into chunks 2016-10-11 12:30:30 +08:00
Wu Cheng-Han fb5d7e4359 Update npm and bower dependencies with related patch 2016-10-10 21:14:28 +08:00
Wu Cheng-Han bf4c6d021c Extract config.js from common.js to make client setting file clean and also make upgrade easier 2016-10-10 16:25:51 +08:00
Yukai Huang 70c20aadda Remove redundant entry point 2016-10-10 07:58:42 +08:00
Yukai Huang a258897884 Revert some bower assets 2016-10-09 21:43:41 +08:00
Yukai Huang d0997ed0c1 Config TextExtract plugin and change build folder 2016-10-09 18:22:31 +08:00
Yukai Huang 3e2905be13 Revert to customized codemirror 2016-10-09 17:54:51 +08:00
Yukai Huang 7e6b9f776f Revert customized ot library and fix dependency 2016-10-09 08:15:23 +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
Yukai Huang ebee5a8d05 Use xss in script tag 2016-10-08 19:57:50 +08:00
Yukai Huang 8e11c19bed Move out script tag and use js instead 2016-10-08 08:13:40 +08:00
Wu Cheng-Han b7200d7910 Fix the include order to avoid Reference Errors 2016-09-18 16:50:35 +08:00
Wu Cheng-Han 23008bc1e1 Update to support wiki markup syntax highlighting in view using prism 2016-09-18 16:42:27 +08:00
Wu Cheng-Han 9d71adc05c Add support of shortcut keys for changeMode 2016-09-18 16:30:08 +08:00
Wu Cheng-Han 8fcde970ab Update bower dependencies and cdn version 2016-07-30 12:22:16 +08:00
Wu Cheng-Han 65cff038a3 Update bootstrap to 3.3.7 and jQuery to 3.1.0 with related patches 2016-07-30 12:19:42 +08:00
Wu Cheng-Han 8791447ef9 Update to support slide preview in both mode 2016-07-30 11:07:08 +08:00
Wu Cheng-Han cb75424f8e Update gist-embed to 2.5 and using bower to manage it 2016-07-13 10:40:34 +08:00
Cheng-Han, Wu 3424cdd771 Add support of embed pdf 2016-06-21 21:44:06 +08:00
Cheng-Han, Wu 71f61b7f84 Update all client dependencies and cdn versions, workaround sequence-diagram svg to be resizable 2016-06-17 16:27:37 +08:00
Cheng-Han, Wu 56b4739e6d Add back missing support of image size in 0.4.2 2016-06-17 16:04:58 +08:00
Cheng-Han, Wu 2bff75a9f4 Update highlight.js to version 9.4.0 and use bower dependency 2016-06-04 10:50:53 +08:00
Cheng-Han, Wu c73c32d127 Update to replace animation acceleration library from gsap to velocity 2016-05-29 17:49:29 +08:00
Cheng-Han, Wu a70ebf7762 Update to move dropbox app key setting to common.js and will auto load client-side related scripts 2016-05-15 10:54:24 +08:00
Jannik Lorenz d7648e9cea
Hide Dropbox and Google Drive in Import/ Export when disabled 2016-04-23 12:58:24 +02:00
Cheng-Han, Wu 15b5252fcb Fix raphael source file name 2016-04-20 18:16:30 +08:00
Cheng-Han, Wu 0fb70a1487 Support experimental spell checking feature (en-US only), can be enabled by the YAML meta option 2016-04-20 18:09:36 +08:00
Cheng-Han, Wu 3f153515f4 Updated to support mermaid and moment use cdn source 2016-04-20 16:24:02 +08:00
Cheng-Han, Wu e729166c32 Updated to support container syntax and styles 2016-03-15 10:56:53 +08:00
Cheng-Han, Wu 218761d6a1 Updated to support mathjax without cdn 2016-03-15 10:53:45 +08:00