Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki authored and web-padawan committed Mar 20, 2018
1 parent 58f1b2c commit bac7793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vaadin-element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<link rel="import" href="../vaadin-development-mode-detector/vaadin-development-mode-detector.html">

<script>
if (Polymer && Polymer.version.indexOf('2.') !== 0) {
if (window.Polymer && window.Polymer.version && window.Polymer.version.indexOf('2.') !== 0) {
throw new Error(`Unexpected Polymer version ${Polymer.version} is used, expected v2.0.0 or later.`);
}

Expand Down

0 comments on commit bac7793

Please sign in to comment.