Skip to content

Commit a75133d

Browse files
author
Scott J Miles
committed
specifically create Polymer object on window to satisfy strict mode (fixes #2363)
1 parent 5605634 commit a75133d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/lib/settings.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
-->
1010
<script>
1111

12-
Polymer = {
12+
window.Polymer = {
1313
Settings: (function() {
1414
// NOTE: Users must currently opt into using ShadowDOM. They do so by doing:
1515
// Polymer = {dom: 'shadow'};
1616
// TODO(sorvell): Decide if this should be auto-use when available.
1717
// TODO(sorvell): if SD is auto-use, then the flag above should be something
1818
// like: Polymer = {dom: 'shady'}
19-
19+
2020
// via Polymer object
2121
var user = window.Polymer || {};
2222

0 commit comments

Comments
 (0)