site-deploy/external/skrollr/examples/scripts/main.js
2014-07-05 23:14:58 +02:00

19 lines
282 B
JavaScript
Executable File

require.config({
baseUrl: "../dist",
paths: {
'skrollr' : "skrollr.min"
},
waitSeconds: 15
});
require(['skrollr'], function(skrollr){
var s = skrollr.init({
edgeStrategy: 'set',
easing: {
WTF: Math.random,
inverted: function(p) {
return 1-p;
}
}
});
});