Permalink
Browse files

Use jQuery 1.x in the demo, CS fixes

  • Loading branch information...
ShiraNai7 committed Jun 1, 2017
1 parent 5c917d9 commit bf031869b07f97ae12627b49dc3a0c19161e7161
Showing with 4 additions and 5 deletions.
  1. +4 −5 demo.html
View
@@ -109,7 +109,8 @@ <h2>Scrollable element example</h2>
</div>
<script src="http://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha256-k2WSCIexGzOj3Euiig+TlR8gA0EmPjuc79OEeY5L45g=" crossorigin="anonymous"></script>
<script src="http://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script type="text/javascript" src="src/scrollwatch.js"></script>
<script type="text/javascript">
@@ -119,8 +120,7 @@ <h2>Scrollable element example</h2>
.scrollWatchMapTo('#wrapper > ul.menu > li', null, {
resolutionMode: 'focus-line',
viewMarginTop: 53
})
;
});
// debug focus line checkbox
$('#toggleDebugFocusLine').change(function () {
@@ -132,8 +132,7 @@ <h2>Scrollable element example</h2>
// scrollable element
$('#scrollable > div.scroller > div')
.scrollWatchMapTo('#scrollable > ul.menu > li')
;
.scrollWatchMapTo('#scrollable > ul.menu > li');
});
</script>

0 comments on commit bf03186

Please sign in to comment.