Update Polymer to 1.9.1. Use suppressBindingNotifications for perf

This commit is contained in:
Eric Bidelman 2017-05-31 13:45:24 -07:00
Родитель 705c02c3d5
Коммит e57988d26e
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,7 @@
},
"dependencies": {
"app-layout": "PolymerElements/app-layout#^0.10.0",
"polymer": "Polymer/polymer#^1.8.1",
"polymer": "Polymer/polymer#^1.9.1",
"google-apis": "GoogleWebComponents/google-apis#^1.0.2",
"paper-listbox": "PolymerElements/paper-listbox#^1.1.2",
"paper-item": "PolymerElements/paper-item#^1.0.3",

Просмотреть файл

@ -60,6 +60,7 @@ window.Polymer = window.Polymer || {
lazyRegister: 'max',
useNativeCSSProperties: true,
suppressTemplateNotifications: true, // Don't fire dom-change on dom-if, dom-bind, etc.
suppressBindingNotifications: true
// disableUpgradeEnabled: true // Works with `disable-upgrade` attr. When removed, upgrades element.
};