1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

clean lib

This commit is contained in:
Dick Choi
2016-05-25 16:49:21 +09:00
parent c7ad06a1f7
commit 60daafe136
7 changed files with 4 additions and 75 deletions

View File

@@ -7,7 +7,6 @@ const defaultConfig = {
}
function validate (config) {
console.log(config)
if (!_.isObject(config)) return false
if (!_.isNumber(config.zoom) || config.zoom < 0) return false
if (!_.isBoolean(config.isSideNavFolded)) return false