Add es6-promise for Internet Explorer

Plus it is required by the fetch polyfill, see
https://github.com/github/fetch#installation

Also see https://github.com/github/fetch/issues/114

This fixes the undefined Promise error in internet explorer 11, due to
Promises not being supported in Internet explorer and other browsers.

See http://caniuse.com/#feat=promises

Bug: Issue 4308
Change-Id: I93df9c89a9a98059292038dffe1655c3f4d503c5
This commit is contained in:
Paladox
2016-09-10 18:33:35 +01:00
committed by Paladox none
parent ef353fedd2
commit 914cf06b27
5 changed files with 30 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ include_defs('//lib/js.defs')
bower_components(
name = 'polygerrit_components',
deps = [
'//lib/js:es6-promise',
'//lib/js:fetch',
'//lib/js:highlightjs',
'//lib/js:iron-autogrow-textarea',