whitebophir/client-data
finnboeger 57a02c42d6
Improve compatibility with Internet Explorer (#63)
* include promise polyfill

* remove es6

* add viewBox to every icon

* change self closing to explicitly closing tags

* replace window.scroll.. with document.documentElement.scroll..

* verify document.activeElement.blur() is a function before calling

* fix visuals of color chooser (colorpicker still sometimes buggy)

* do not attach to mouseleave event in IE

* attempt removal with usecapture true in IE as well, this fixes the tool switching issue

* fix text tool for IE

* fix cursor for IE

* change curMode to boolean and rename to 'active'

* replace minified canvascolor with unminified code

* replace if else structure with switch statement

* compile polyfill for each browser individually

* remove static polyfills from board.js

* Fix broken js reference

* Fix unused variable and empty console log

* Allow serving non-minified polyfills for easier debugging

* Add proper caching for polyfill.js

This request is on the critical path, we should try to make it fast

* Include more polyfills

All the DOM polyfills were missing

* Update dependencies

* Add missing polyfill

Our custom polyfill was deleted, but the one from polyfill-library hadn't been added

* Remove feature detection for Node.contains

We now have the function in the polyfills

* Update polyfill caching logic

* Remove content-Length header

Co-authored-by: @lovasoa
2020-05-05 12:01:46 +02:00
..
js Improve compatibility with Internet Explorer (#63) 2020-05-05 12:01:46 +02:00
tools Improve compatibility with Internet Explorer (#63) 2020-05-05 12:01:46 +02:00
apple-touch-icon.png Small markup improvements in index page 2020-04-28 21:49:02 +02:00
background.png Updated the style of the index page 2020-04-18 23:17:59 +02:00
board.css Improve compatibility with Internet Explorer (#63) 2020-05-05 12:01:46 +02:00
board.html Improve compatibility with Internet Explorer (#63) 2020-05-05 12:01:46 +02:00
crossdomain.xml Change socket.io configuration 2013-12-09 00:59:37 +01:00
error.html Reformat code 2018-11-27 15:29:14 +01:00
favicon.ico Small markup improvements in index page 2020-04-28 21:49:02 +02:00
favicon.svg Style changes (#39) 2020-04-26 14:56:51 +02:00
github.svg Index: change footer and add instagram link 2020-05-02 18:10:10 +02:00
icon-size.svg Better tool icons 2020-04-26 00:45:42 +02:00
index.css Index: change footer and add instagram link 2020-05-02 18:10:10 +02:00
index.html Index: change footer and add instagram link 2020-05-02 18:10:10 +02:00
instagram.svg Index: change footer and add instagram link 2020-05-02 18:10:10 +02:00
manifest.json Small markup improvements in index page 2020-04-28 21:49:02 +02:00