mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 22:52:40 +00:00
lint
This commit is contained in:
@@ -20,17 +20,17 @@ const PAGE_HEIGHT = 1056;
|
||||
const PPR_THRESHOLD = 50;
|
||||
|
||||
const BrewPage = createClass({
|
||||
displayName : `BrewPage`,
|
||||
displayName : `BrewPage`,
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
contents : '',
|
||||
index : 0
|
||||
}
|
||||
index : 0
|
||||
};
|
||||
},
|
||||
render : function() {
|
||||
return <div className='page' id={`p${this.props.index + 1}`} >
|
||||
<div className='columnWrapper' dangerouslySetInnerHTML={{ __html: this.props.contents }} />
|
||||
</div>
|
||||
</div>;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -70,8 +70,8 @@ const BrewRenderer = createClass({
|
||||
</head><body style='overflow: hidden'><div></div></body></html>`
|
||||
};
|
||||
},
|
||||
height : 0,
|
||||
lastRender : <div></div>,
|
||||
height : 0,
|
||||
lastRender : <div></div>,
|
||||
renderedPages : [],
|
||||
|
||||
componentWillUnmount : function() {
|
||||
|
||||
Reference in New Issue
Block a user