update scrollAnim version

This commit is contained in:
jljsj 2016-01-20 19:33:24 +08:00
parent cc73030560
commit a5c20a9d11
2 changed files with 2 additions and 6 deletions

View File

@ -100,7 +100,7 @@
"lodash": "^3.10.0",
"nico-jsx": "~0.7.0",
"pre-commit": "1.x",
"rc-scroll-anim": "^0.1.5",
"rc-scroll-anim": "^0.1.6",
"rc-tween-one": "^0.1.8",
"react": "0.14.x",
"react-addons-test-utils": "0.14.x",

View File

@ -31,7 +31,7 @@ module.exports = function () {
$(window).off('scroll.scrollNavEvent');
$(window).on('scroll.scrollNavEvent', scrollNavEvent);
// 整屏滚动;
scrollScreen({docHeight: 4746});
scrollScreen.init({docHeight: 4746});
// list point
ReactDOM.render((
<div>
@ -59,10 +59,6 @@ module.exports = function () {
return 'left';
}
componentWillUnmount() {
console.log(122112)
}
render() {
return (
<ScrollElement scrollName="banner" style={{height: '100%'}}>