1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

refactor: fix some coding style pointed by standard js

This commit is contained in:
sota1235
2017-01-11 23:35:02 +09:00
parent ed9ddee5f1
commit 79f33b9405
24 changed files with 29 additions and 45 deletions

View File

@@ -14,6 +14,7 @@ import SnippetTab from 'browser/components/SnippetTab'
import StatusBar from '../StatusBar'
import context from 'browser/lib/context'
import ConfigManager from 'browser/main/lib/ConfigManager'
import _ from 'lodash'
function pass (name) {
switch (name) {
@@ -459,7 +460,7 @@ class SnippetNoteDetail extends React.Component {
}
render () {
let { data, config } = this.props
let { config } = this.props
let { note } = this.state
let editorFontSize = parseInt(config.editor.fontSize, 10)