• Kyle Keating's avatar
    Various fixes for IE11 (#2021) · ac7b77a4
    Kyle Keating authored
    * Revert escape-string-regexp  back to 1.0.5
    
    This broke IE 11. See issue https://github.com/sindresorhus/escape-string-regexp/issues/18Signed-off-by: 's avatarKyle Keating <kkeating@hypothes.is>
    
    * Fix es2018 polyfill so it does not break IE11
    
    Promise is undefined in IE11.
    Signed-off-by: 's avatarKyle Keating <kkeating@hypothes.is>
    
    * Add user-agent shared util
    
    Adds 2 helper methods:
    - isIE11
    - isMacOS
    Signed-off-by: 's avatarKyle Keating <kkeating@hypothes.is>
    
    * Fix IE11 keyboard events
    
    - IE11 uses special names for arrow keys that are different than the standard key names.
    - Fix handleOnInput in tag-editor for IE11
    - use isMacOS in markdown-editor
    
    * Add renderer-options.js module
    
    This module holds any renderer options to globally fix browser quirks or any other unique customizations we wish to add.
    
    The dir=“auto” causes an exception in IE11. ie11DomReassignments() will simply replace that attribute’s value with an empty value so it does not break.
    
    * Add browser-compatiblity-utils module
    
    Current only holds one method used to translate key names used by IE11 to standardized names that all components can assume. This removes the need for special cases in each component when listening to keyboard events.
    
    * missing code cov
    ac7b77a4
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.dockerignore Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
.python-version Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Dockerfile Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
tox.ini Loading commit data...
yarn.lock Loading commit data...