Skip to content

Commit 4a0f40a

Browse files
author
Glenn Reyes
committed
Fixed linting errors
1 parent 66214b0 commit 4a0f40a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Highlight.example.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class HighlightDemoDemo extends Component {
4343
type='text'
4444
name='language'
4545
defaultValue={language}
46-
onChange={event => this._debouncedSetState('language', event.target.value)}/>
46+
onChange={event => this._debouncedSetState('language', event.target.value)} />
4747
</div>
4848
<div className='form-group'>
4949
<label>Enter text to be formatted</label>
@@ -52,7 +52,7 @@ export default class HighlightDemoDemo extends Component {
5252
type='text'
5353
name='content'
5454
defaultValue={content}
55-
onChange={event => this._debouncedSetState('content', event.target.value)}/>
55+
onChange={event => this._debouncedSetState('content', event.target.value)} />
5656
</div>
5757
<label>Output</label>
5858
<Highlight language={language}>

website/Application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default class Application extends React.Component {
2525
</Highlight>
2626
<p>Choose a highlight.js theme and make sure it's included in your index file.</p>
2727
<Highlight language='html'>
28-
{`<link rel='stylesheet' href='https://highlightjs.org/static/demo/styles/railscasts.css'/>`}
28+
<link rel='stylesheet' href='https://highlightjs.org/static/demo/styles/railscasts.css' />
2929
</Highlight>
3030
<p>And then use react-highlight.js to display your text like so:</p>
3131
<Highlight language='html'>

0 commit comments

Comments
 (0)