remove debug codes

This commit is contained in:
Jocs 2018-06-05 00:33:30 +08:00
parent dc79014147
commit 30de74e866
4 changed files with 0 additions and 4 deletions

View File

@ -43,7 +43,6 @@ const handleResponseForSave = (e, { id, markdown, pathname, options }) => {
return writeMarkdownFile(pathname, markdown, options, win) return writeMarkdownFile(pathname, markdown, options, win)
.then(() => { .then(() => {
console.log(pathname)
const filename = path.basename(pathname) const filename = path.basename(pathname)
win.webContents.send('AGANI::set-pathname', { id, pathname, filename }) win.webContents.send('AGANI::set-pathname', { id, pathname, filename })
}) })

View File

@ -71,7 +71,6 @@ const addDir = (win, pathname) => {
} }
const unlinkDir = (win, pathname) => { const unlinkDir = (win, pathname) => {
console.log(pathname)
const directory = { pathname } const directory = { pathname }
win.webContents.send('AGANI::update-object-tree', { win.webContents.send('AGANI::update-object-tree', {
type: 'unlinkDir', type: 'unlinkDir',

View File

@ -99,7 +99,6 @@
} }
const mouseDownHandler = event => { const mouseDownHandler = event => {
console.log(startX)
startX = event.clientX startX = event.clientX
startWidth = +this.sideBarWidth startWidth = +this.sideBarWidth
document.addEventListener('mousemove', mouseMoveHandler, false) document.addEventListener('mousemove', mouseMoveHandler, false)

View File

@ -104,7 +104,6 @@ const actions = {
commit('SET_SAVE_STATUS_WHEN_REMOVE', change) commit('SET_SAVE_STATUS_WHEN_REMOVE', change)
break break
case 'change': case 'change':
console.log(change)
commit('CHANGE_FILE', change) commit('CHANGE_FILE', change)
break break
case 'addDir': case 'addDir':