Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: ui/webui/resources/js/polymer_config.js

Issue 2738063008: WebUI: Polymer config tweaks for better performance. (Closed)
Patch Set: Rebase + comment. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 if (typeof Polymer == 'undefined') { 5 if (typeof Polymer == 'undefined') {
6 Polymer = { 6 Polymer = {
7 dom: 'shadow', 7 dom: 'shadow',
8 lazyRegister: true, 8 lazyRegister: true,
9 preserveStyleIncludes: true, // Only matters when using polymer-css-build. 9 preserveStyleIncludes: true, // Only matters when using polymer-css-build.
10 suppressBindingNotifications: true,
11 suppressTemplateNotifications: true,
10 useNativeCSSProperties: true, 12 useNativeCSSProperties: true,
11 }; 13 };
12 } else { 14 } else {
13 console.error('Polymer is already defined.'); 15 console.error('Polymer is already defined.');
14 } 16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698