Commit Graph

19 Commits

Author SHA1 Message Date
curben ff2d2f0ea4 fix: load clipboardjs only in post 2019-06-30 16:55:49 +09:30
curben 4791c98a00 refactor: remove jquery and fancybox
todo https://github.com/dimsemenov/photoswipe
2019-05-22 11:13:21 +09:30
curben e7a6071d08 refactor: move inline cloudinary js into js file
to make way for CSR policy
2019-05-21 10:49:30 +09:30
curben ba48027e74 refactor: switch to regular cloudinary js
* it's hosted at cdnjs, inline with other js source
    - better for HTTP/2 multiplexing if same host
  * update jquery
2019-05-19 12:07:34 +09:30
curben 43bf50dac5 refactor: switch to more modern sri-fallback
https://github.com/JackuB/subresource-integrity-fallback
2019-04-10 19:59:56 +09:30
curben d314bff200 chore: update libs 2019-04-10 14:45:02 +09:30
curben 624d449a3e style: use ES6 syntax and standard style 2018-11-01 12:15:03 +10:30
curben 1f0f664677 Load typing.js after jquery 2018-10-19 11:57:41 +10:30
curben 54d74b4d1b Switch to cloudinary-jquery without file-upload function
- cloudinary-core 67.1KB
- cloudinary-jquery 66.5KB
- cloudinary-jquery-file-upload 71KB
2018-10-07 14:47:51 +10:30
curben 4eca4d9ebf Don't bundle js
HTTP/2 (supported by Netlify) offers multiplexing, so bundle/concat is not required
https://stackoverflow.com/a/36519379
Revert a4226f1413
2018-10-05 14:12:03 +09:30
curben a4226f1413 Combine sri-fallback and typing
Save one HTTP request
2018-10-04 12:21:36 +09:30
curben adf707c0fb Add cloudinary call
https://cloudinary.com/documentation/responsive_images#step_3_call_the_cloudinary_responsive_method
19e3cd1bcb
2018-10-01 21:30:53 +09:30
curben 19e3cd1bcb Add cloudinary tag plugin 2018-10-01 12:20:54 +09:30
curben 34c9b29f81 Use correct directory of js and css 2018-09-30 15:15:00 +09:30
curben 8e5c6f4f0f Update fancybox and implement sri-fallback
https://github.com/cyph/sri-fallback
2018-09-29 21:07:09 +09:30
curben 73b0a203bc Use subresource integrity for js
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
https://hacks.mozilla.org/2015/09/subresource-integrity-in-firefox-43/
https://www.troyhunt.com/protecting-your-embedded-content-with-subresource-integrity-sri/
2018-09-29 19:22:06 +09:30
curben bc5e29ffab Upgrade jquery and fancybox 2018-09-18 18:43:24 +09:30
curben 33bdd1d382 Self-serve scripts and remove unused codes 2018-09-16 16:54:02 +09:30
curben 0fc76e12aa Install 'typing' theme 2018-09-14 17:57:43 +09:30