Bug fixes and tweaks

This commit is contained in:
Alex Hunt 2017-12-16 15:07:49 -05:00
parent da809a5e53
commit a8dea70e6e
5 changed files with 10 additions and 11 deletions

View File

@ -1,5 +1,3 @@
<p><br>
</p>
<p>Mr Leopold Bloom ate with relish the inner organs of beasts and fowls. He liked thick giblet soup, nutty gizzards, a stuffed roast heart, liverslices fried with crustcrumbs, fried hencods' roes. Most of all he liked grilled mutton kidneys which gave to his palate a fine tang of faintly scented urine.</p>
<p>Kidneys were in his mind as he moved about the kitchen softly, righting her breakfast things on the humpy tray. Gelid light and air were in the kitchen but out of doors gentle summer morning everywhere. Made him feel a bit peckish.</p>
<p>The coals were reddening.</p>

View File

@ -1,6 +1,3 @@
<p><br>
<br>
</p>
<p>By lorries along sir John Rogerson's quay Mr Bloom walked soberly, past Windmill lane, Leask's the linseed crusher, the postal telegraph office. Could have given that address too. And past the sailors' home. He turned from the morning noises of the quayside and walked through Lime street. By Brady's cottages a boy for the skins lolled, his bucket of offal linked, smoking a chewed fagbutt. A smaller girl with scars of eczema on her forehead eyed him, listlessly holding her battered caskhoop. Tell him if he smokes he won't grow. O let him! His life isn't such a bed of roses. Waiting outside pubs to bring da home. Come home to ma, da. Slack hour: won't be many there. He crossed Townsend street, passed the frowning face of Bethel. El, yes: house of: Aleph, Beth. And past Nichols' the undertaker. At eleven it is. Time enough. Daresay Corny Kelleher bagged the job for O'Neill's. Singing with his eyes shut. Corny. Met her once in the park. In the dark. What a lark. Police tout. Her name and address she then told with my tooraloom tooraloom tay. O, surely he bagged it. Bury him cheap in a whatyoumaycall. With my tooraloom, tooraloom, tooraloom, tooraloom.</p>
<p>In Westland row he halted before the window of the Belfast and Oriental Tea Company and read the legends of leadpapered packets: choice blend, finest quality, family tea. Rather warm. Tea. Must get some from Tom Kernan. Couldn't ask him at a funeral, though. While his eyes still read blandly he took off his hat quietly inhaling his hairoil and sent his right hand with slow grace over his brow and hair. Very warm morning. Under their dropped lids his eyes found the tiny bow of the leather headband inside his high grade ha. Just there. His right hand came down into the bowl of his hat. His fingers found quickly a card behind the headband and transferred it to his waistcoat pocket.</p>
<p>So warm. His right hand once more more slowly went over again: choice blend, made of the finest Ceylon brands. The far east. Lovely spot it must be: the garden of the world, big lazy leaves to float about on, cactuses, flowery meads, snaky lianas they call them. Wonder is it like that. Those Cinghalese lobbing about in the sun in <em>dolce far niente</em>, not doing a hand's turn all day. Sleep six months out of twelve. Too hot to quarrel. Influence of the climate. Lethargy. Flowers of idleness. The air feeds most. Azotes. Hothouse in Botanic gardens. Sensitive plants. Waterlilies. Petals too tired to. Sleeping sickness in the air. Walk on roseleaves. Imagine trying to eat tripe and cowheel. Where was the chap I saw in that picture somewhere? Ah yes, in the dead sea floating on his back, reading a book with a parasol open. Couldn't sink if you tried: so thick with salt. Because the weight of the water, no, the weight of the body in the water is equal to the weight of the what? Or is it the volume is equal to the weight? It's a law something like that. Vance in High school cracking his fingerjoints, teaching. The college curriculum. Cracking curriculum. What is weight really when you say the weight? Thirtytwo feet per second per second. Law of falling bodies: per second per second. They all fall to the ground. The earth. It's the force of gravity of the earth is the weight.</p>

View File

@ -30,11 +30,11 @@ export const NoteButton = ({note, currentNote, onClick}) =>
</button>
</div>
export const HighlightButton = ({highlightActive, onHighlightClick}) =>
export const HighlightButton = ({highlightToggle, onHighlightClick}) =>
<div>
<div id='highlight_button' className='text-center'>
<button onClick={onHighlightClick} className={highlightActive ? 'btn btn-primary btn-lg' : 'btn btn-outline-primary btn-lg'}>
{highlightActive ? 'Hide Notes' : 'Highlight Notes'}
<button onClick={onHighlightClick} className={highlightToggle ? 'btn btn-primary btn-lg' : 'btn btn-outline-primary btn-lg'}>
{highlightToggle ? 'Hide Notes' : 'Highlight Notes'}
</button>
</div>
</div>

View File

@ -11,7 +11,11 @@ const JoyceReaderContent = ({currentDocument, highlightToggle, editorState, load
{loadingToggle === true &&
<LoadingSpinner />
}
<br />
<br />
<DocumentTitle docType={'chapters'} currentDocument={currentDocument} />
<br />
<br />
<Editor editorState={editorState} readOnly={true} />
</div>

View File

@ -5,11 +5,11 @@ import { DocumentList } from '../components/list'
import { HighlightButton } from '../components/button'
import SidebarSpacer from '../components/sidebarSpacer'
const JoyceReaderSidebar = ({chapters, currentDocument, onDocumentClick, highlightActive, onHighlightClick, docType}) =>
const JoyceReaderSidebar = ({chapters, currentDocument, onDocumentClick, highlightToggle, onHighlightClick, docType}) =>
<div className='col-md-3 order-1 order-xs-2 order-sm-2' id='sidebar'>
<div className='d-none d-md-block'>
<SidebarSpacer />
<HighlightButton highlightActive={highlightActive} onHighlightClick={onHighlightClick}/>
<HighlightButton highlightToggle={highlightToggle} onHighlightClick={onHighlightClick}/>
<SidebarSpacer />
<DocumentList chapters={chapters} currentDocument={currentDocument} onDocumentClick={onDocumentClick} docType={docType} />
</div>
@ -20,7 +20,7 @@ const mapStateToProps = state => {
chapters: state.chapters,
docType: state.docType,
currentDocument: state.currentDocument,
highlightActive: state.highlightActive
highlightToggle: state.highlightToggle
}
}