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

Reset of linesHighlighted

This commit is contained in:
Duarte-Frazao
2018-12-08 12:19:42 +00:00
parent f483f8fdf0
commit 492294e11d
2 changed files with 4 additions and 2 deletions

View File

@@ -9,7 +9,8 @@ function createSnippet (snippetFile) {
id: crypto.randomBytes(16).toString('hex'),
name: 'Unnamed snippet',
prefix: [],
content: ''
content: '',
linesHighlighted: [],
}
fetchSnippet(null, snippetFile).then((snippets) => {
snippets.push(newSnippet)