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

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

Issue 2738063008: WebUI: Polymer config tweaks for better performance. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « chrome/browser/resources/settings/privacy_page/privacy_page.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 useNativeCSSProperties: true, 10 useNativeCSSProperties: true,
11 suppressBindingNotifications: true,
12 suppressTemplateNotifications: true,
Dan Beam 2017/03/15 18:10:13 nit: alpha
dpapad 2017/03/15 18:28:17 Done.
11 }; 13 };
12 } else { 14 } else {
13 console.error('Polymer is already defined.'); 15 console.error('Polymer is already defined.');
14 } 16 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/privacy_page/privacy_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698