Skip to content

Commit

Permalink
fix the last deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
archaeron committed May 22, 2015
1 parent 245c92a commit 6e471af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/idris-controller.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ class IdrisController
@messages.clear()
@messages.hide()
@localChanges = false
if @isIdrisFile(editor.getUri())
@loadFile editor.getUri()
if @isIdrisFile(editor.getURI())
@loadFile editor.getURI()

idrisFileChanged: (editor) ->
@localChanges = editor.isModified()
if @localChanges
@statusbar.setStatus 'Idris: local modifications'
else if @isIdrisFile(editor.getUri())
@loadFile editor.getUri()
else if @isIdrisFile(editor.getURI())
@loadFile editor.getURI()

idrisFileClosed: (editor) ->
@idrisBuffers -= 1
Expand Down

0 comments on commit 6e471af

Please sign in to comment.