Skip to content

Commit

Permalink
example: update to component mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramelos committed Dec 27, 2012
1 parent 1ba75ed commit 0365aad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"development": {},
"license": "MIT",
"scripts": [
"dist/skrollr.min.js"
"index.js"
]
}
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h2>the end</h2>
}
</script>

<script type="text/javascript" src="dist/skrollr.min.js"></script>
<script type="text/javascript" src="build/build.js"></script>

<script type="text/javascript">
//http://detectmobilebrowsers.com/ + tablets
Expand All @@ -89,6 +89,8 @@ <h2>the end</h2>
<![endif]-->

<script type="text/javascript">
require('skrollr')();

var s = skrollr.init({
beforerender: function(data) {
//console.log('beforerender');
Expand Down

0 comments on commit 0365aad

Please sign in to comment.