File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ import _ from "lodash";
55const Appear = React . createClass ( {
66 mixins : [ tweenState . Mixin ] ,
77 propTypes : {
8- children : React . PropTypes . node
8+ children : React . PropTypes . node ,
9+ fid : React . PropTypes . string . isRequired
910 } ,
1011 contextTypes : {
1112 flux : React . PropTypes . object ,
@@ -21,7 +22,6 @@ const Appear = React.createClass({
2122 } ,
2223 componentDidMount ( ) {
2324 this . context . flux . stores . SlideStore . listen ( this . _storeChange ) ;
24- const slide = this . context . slide ;
2525 } ,
2626 componentWillUnmount ( ) {
2727 this . context . flux . stores . SlideStore . unlisten ( this . _storeChange ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ const Slide = React.createClass({
2020 align : React . PropTypes . string ,
2121 presenterStyle : React . PropTypes . object ,
2222 children : React . PropTypes . node ,
23- notes : React . PropTypes . string
23+ notes : React . PropTypes . string ,
24+ slideIndex : React . PropTypes . number
2425 } ,
2526 contextTypes : {
2627 styles : React . PropTypes . object ,
@@ -57,7 +58,7 @@ const Slide = React.createClass({
5758 id : frag . dataset . fid ,
5859 visible : false
5960 } ) ;
60- } )
61+ } ) ;
6162 }
6263 window . addEventListener ( "load" , this . setZoom ) ;
6364 window . addEventListener ( "resize" , this . setZoom ) ;
You can’t perform that action at this time.
0 commit comments