5 Commits
Author SHA1 Message Date
Seongjae Lee 956c0017e4 Prepare 0.10.1 release 2016-06-23 19:09:31 -07:00
Seongjae Lee 0dd99d805b Fix #52 to prevent spitting an error message when whitespace package is not active 2016-06-23 19:07:40 -07:00
Seongjae Lee aa641ba695 Prepare 0.10.0 release 2016-04-25 18:47:08 -07:00
Seongjae Lee 6a7e04d177 Merge pull request #48 from jonmagic/patch-1
Update docquery to 1.1.1
2016-04-25 18:43:03 -07:00
Jonathan Hoyt 5aab86660f Update docquery to 1.1.1 2016-04-24 21:49:26 -07:00
2 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -105,9 +105,12 @@ class NotationalVelocityView extends SelectListView
if filePath
atom.workspace.open(filePath).then (editor) ->
save = ->
atom.packages.deactivatePackage 'whitespace'
isWhiteSpaceActive = atom.packages.isPackageActive 'whitespace'
if isWhiteSpaceActive
atom.packages.deactivatePackage 'whitespace'
editor.save()
atom.packages.activatePackage 'whitespace'
if isWhiteSpaceActive
atom.packages.activatePackage 'whitespace'
debouncedSave = _.debounce save, 1000
editor.onDidStopChanging () ->
debouncedSave() if editor.isModified()
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "nvatom",
"main": "./lib/notational-velocity",
"version": "0.9.3",
"version": "0.10.1",
"private": true,
"contributors": [
"Seongjae Lee <seongjae@gmail.com>",
@@ -28,7 +28,7 @@
"dependencies": {
"atom-space-pen-views": "^2.0.3",
"chokidar": "^1.0.5",
"docquery": "^1.1.0",
"docquery": "^1.1.1",
"fs-plus": "2.x",
"underscore-plus": "^1.6.6"
},