| OLD | NEW |
| 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. | |
| 10 useNativeCSSProperties: true, | 9 useNativeCSSProperties: true, |
| 11 }; | 10 }; |
| 12 } else { | 11 } else { |
| 13 console.error('Polymer is already defined.'); | 12 console.error('Polymer is already defined.'); |
| 14 } | 13 } |
| OLD | NEW |