Skip to content

Commit

Permalink
add promise polyfill for text tool to work in IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Navratil committed Jan 24, 2020
1 parent a18b7fa commit 65e7dfd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 41 deletions.
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import Inserter from './inserter';
import Settings from './settings';
import ControlBuilder from './controlbuilder';

require('es6-promise').polyfill();
require('string.prototype.repeat');

class PainterroProc {
Expand Down
53 changes: 16 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,26 @@
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"css-loader": "^0.28.3",
"es6-promise": "^4.1.1",
"eslint": "^4.1.1",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-loader": "^2.2.1",
"eslint-plugin-import": "^2.7.0",
"html2canvas": "^1.0.0-alpha.9",
"html2canvas": "^1.0.0-rc.5",
"icon-font-generator": "^2.1.10",
"ismobilejs": "^1.0.3",
"js-yaml": ">=3.13.1",
"lodash": ">=4.17.13",
"mime": ">=1.4.1",
"raw-loader": "^0.5.1",
"string.prototype.repeat": "^0.2.0",
"style-loader": "^0.18.1",
"url-loader": "^0.5.8",
"webfonts-generator": "^0.4.0",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.8.1"
},
"dependencies": {}
"dependencies": {
"es6-promise": "^4.2.8",
"string.prototype.repeat": "^0.2.0"
}
}

1 comment on commit 65e7dfd

@ivictbor
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.