File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import keygen from './keygen'
44function getClientKey ( ) {
55 let clientKey = localStorage . getItem ( 'clientKey' )
66 if ( ! _ . isString ( clientKey ) || clientKey . length !== 40 ) {
7- clientKey = keygen ( )
7+ clientKey = keygen ( 20 )
88 setClientKey ( clientKey )
99 }
1010
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const defaultConfig = {
77}
88
99function validate ( config ) {
10- console . log ( config )
1110 if ( ! _ . isObject ( config ) ) return false
1211 if ( ! _ . isNumber ( config . zoom ) || config . zoom < 0 ) return false
1312 if ( ! _ . isBoolean ( config . isSideNavFolded ) ) return false
Original file line number Diff line number Diff line change 11import React from 'react'
22import ReactDOM from 'react-dom'
3- import ExternalLink from 'browser/components/ExternalLink'
43
54export default class ContactTab extends React . Component {
65 componentDidMount ( ) {
@@ -13,7 +12,7 @@ export default class ContactTab extends React.Component {
1312 < div className = 'ContactTab content' >
1413 < div className = 'title' > Contact</ div >
1514 < p >
16- - Issues: < ExternalLink href = 'https://github.com/BoostIO/Boostnote/issues' > https://github.com/BoostIO/Boostnote/issues</ ExternalLink >
15+ - Issues: < a href = 'https://github.com/BoostIO/Boostnote/issues' > https://github.com/BoostIO/Boostnote/issues</ a >
1716 </ p >
1817 </ div >
1918 )
Original file line number Diff line number Diff line change 99 < link rel ="stylesheet " href ="../node_modules/highlight.js/styles/xcode.css " id ="hljs-css ">
1010 < link rel ="shortcut icon " href ="../resources/favicon.ico ">
1111 < title > Boostnote</ title >
12- < link rel ="stylesheet " href ="../resources/katex.min.css ">
1312</ script >
1413
1514 < style >
6564 < script type ='text/javascript '>
6665 const electron = require ( 'electron' )
6766 electron . webFrame . setZoomLevelLimits ( 1 , 1 )
68- var version = electron . remote . app . getVersion ( )
6967 const _ = require ( 'lodash' )
70- var scriptUrl = _ . find ( electron . remote . process . argv , a => a === '--hot' )
68+ var scriptUrl = _ . find ( electron . remote . process . argv , ( a ) => a === '--hot' )
7169 ? 'http://localhost:8080/assets/main.js'
7270 : '../compiled/main.js'
7371 var scriptEl = document . createElement ( 'script' )
74- scriptEl . setAttribute ( "type" , "text/javascript" )
72+ scriptEl . setAttribute ( "type" , "text/javascript" )
7573 scriptEl . setAttribute ( "src" , scriptUrl )
7674 document . body . appendChild ( scriptEl )
7775 </ script >
You can’t perform that action at this time.
0 commit comments