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