forked from Chaospott/site
19 lines
282 B
JavaScript
19 lines
282 B
JavaScript
|
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;
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
});
|