Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoCardoso committed Apr 24, 2019
1 parent 39b2555 commit 89b52e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions demo/index-lumo.html
Expand Up @@ -95,9 +95,9 @@ <h2>Lorem Ipsum Dolor Sit Amet Consectetur Adipisicing</h2>
</vaadin-app-layout>
<script>
const togglePrimary = document.getElementById('togglePrimary');
const appLayout = document.querySelector('vaadin-app-layout')
const appLayout = document.querySelector('vaadin-app-layout');
togglePrimary.addEventListener('click', () => {
appLayout.primarySection = appLayout.primarySection === 'navbar'? 'drawer' : 'navbar';
appLayout.primarySection = appLayout.primarySection === 'navbar' ? 'drawer' : 'navbar';
});
</script>
</body>
Expand Down
5 changes: 2 additions & 3 deletions demo/index-material.html
Expand Up @@ -89,15 +89,14 @@ <h1>Main content</h1>
<p>Aenean metus purus, iaculis ut imperdiet eget, sodales et massa. Duis pellentesque nisl vel massa dapibus non lacinia velit volutpat. Maecenas accumsan interdum sodales. In hac habitasse platea dictumst. Pellentesque ornare blandit orci, eget tristique risus convallis ut. Vivamus a sapien neque. </p>
<h2>Lorem Ipsum Dolor Sit Amet Consectetur Adipisicing</h2>
<p>Nam quis sem orci. Phasellus ligula tellus, lobortis nec accumsan eget, mattis at erat. </p>
<h2>Lorem Ipsum Dolor Sit Amet Consectetur A</h2>
<input type="text">
</main>
</vaadin-app-layout>
<script>
const togglePrimary = document.getElementById('togglePrimary');
const appLayout = document.querySelector('vaadin-app-layout')
const appLayout = document.querySelector('vaadin-app-layout');
togglePrimary.addEventListener('click', () => {
appLayout.primarySection = appLayout.primarySection === 'navbar'? 'drawer' : 'navbar';
appLayout.primarySection = appLayout.primarySection === 'navbar' ? 'drawer' : 'navbar';
});
</script>
</body>
Expand Down

0 comments on commit 89b52e7

Please sign in to comment.