Skip to content

Commit

Permalink
Removal of unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Eckenrode committed Jan 19, 2016
1 parent 0dcd985 commit ec79bf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
16 changes: 0 additions & 16 deletions lib/tortoise-git.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,3 @@ module.exports = TortoiseGit =
commitFromTreeView: ->
currFile = resolveTreeSelection()
commit(currFile) if currFile?

deactivate: ->
@modalPanel.destroy()
@subscriptions.dispose()
@tortoiseGitView.destroy()

serialize: ->
tortoiseGitViewState: @tortoiseGitView.serialize()

toggle: ->
console.log 'TortoiseGit was toggled!'

if @modalPanel.isVisible()
@modalPanel.hide()
else
@modalPanel.show()
4 changes: 4 additions & 0 deletions menus/tortoise-git.cson
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
{
"label": "Tortoise GIT",
"submenu": [
{
"label": "Add"
"command": "tortoise-git:addFromTreeView"
}
{
"label": "Push"
"command": "tortoise-git:pushFromTreeView"
Expand Down

0 comments on commit ec79bf8

Please sign in to comment.