forked from Chaospott/site
added external skrollr and first structure in index.html
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user