914cf06b27
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
34 lines
685 B
Python
34 lines
685 B
Python
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',
|
|
'//lib/js:iron-dropdown',
|
|
'//lib/js:iron-input',
|
|
'//lib/js:iron-overlay-behavior',
|
|
'//lib/js:iron-selector',
|
|
'//lib/js:moment',
|
|
'//lib/js:page',
|
|
'//lib/js:polymer',
|
|
'//lib/js:promise-polyfill',
|
|
],
|
|
)
|
|
|
|
genrule(
|
|
name = 'fonts',
|
|
cmd = ' && '.join([
|
|
'cd $TMP',
|
|
'for file in $SRCS; do unzip -q $file; done',
|
|
'zip -q $OUT *',
|
|
]),
|
|
srcs = [
|
|
'//lib/fonts:sourcecodepro',
|
|
],
|
|
out = 'fonts.zip',
|
|
visibility = ['PUBLIC'],
|
|
)
|