Skip to content

Commit

Permalink
specifically create Polymer object on window to satisfy strict mo…
Browse files Browse the repository at this point in the history
…de (fixes #2363)
  • Loading branch information
Scott J Miles committed Aug 25, 2015
1 parent 5605634 commit a75133d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
-->
<script>

Polymer = {
window.Polymer = {
Settings: (function() {
// NOTE: Users must currently opt into using ShadowDOM. They do so by doing:
// Polymer = {dom: 'shadow'};
// TODO(sorvell): Decide if this should be auto-use when available.
// TODO(sorvell): if SD is auto-use, then the flag above should be something
// like: Polymer = {dom: 'shady'}

// via Polymer object
var user = window.Polymer || {};

Expand Down

0 comments on commit a75133d

Please sign in to comment.