Add object-assign polyfill support to polymer (#5994)

* Add object-assign polyfill support to polymer

* Conditionally load compatibility.js

* Remove compatibility preload

* Include newly compiled files

* Update compiled frontend with latest polymer
This commit is contained in:
Adam Mills authored and Paulus Schoutsen committed 2017-02-14 12:00:45 -08:00
1 parent 30ad8bcc80
commit 2993a4a7a5
33 files changed
+49 -30

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ cd "$(dirname "$0")/.."
# Clean up
rm -rf homeassistant/components/frontend/www_static/core.js* \
homeassistant/components/frontend/www_static/compatibility.js* \
homeassistant/components/frontend/www_static/frontend.html* \
homeassistant/components/frontend/www_static/webcomponents-lite.min.js* \
homeassistant/components/frontend/www_static/panels
+2 -1
View File
@@ -14,7 +14,8 @@ def fingerprint():
"""Fingerprint the frontend files."""
files = (glob.glob(base_dir + '**/*.html') +
glob.glob(base_dir + '*.html') +
glob.glob(base_dir + 'core.js'))
glob.glob(base_dir + 'core.js') +
glob.glob(base_dir + 'compatibility.js'))
md5s = OrderedDict()