See #372. Fix deprecation, switch to using atom-space-pen-views
This commit is contained in:
parent
a8d900425a
commit
ecd1012458
|
@ -186,7 +186,7 @@ beautify = ({onSave}) ->
|
|||
beautifyFilePath = (filePath, callback) ->
|
||||
|
||||
# Show in progress indicate on file's tree-view entry
|
||||
$ ?= require("space-pen").$
|
||||
$ ?= require("atom-space-pen-views").$
|
||||
$el = $(".icon-file-text[data-path=\"#{filePath}\"]")
|
||||
$el.addClass('beautifying')
|
||||
|
||||
|
@ -243,7 +243,7 @@ beautifyDirectory = ({target}) ->
|
|||
|
||||
|
||||
# Show in progress indicate on directory's tree-view entry
|
||||
$ ?= require("space-pen").$
|
||||
$ ?= require("atom-space-pen-views").$
|
||||
$el = $(".icon-file-directory[data-path=\"#{dirPath}\"]")
|
||||
$el.addClass('beautifying')
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{View} = require 'space-pen'
|
||||
{TextEditorView} = require 'atom-space-pen-views'
|
||||
{View, TextEditorView} = require 'atom-space-pen-views'
|
||||
|
||||
module.exports =
|
||||
class LoadingView extends View
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{$, $$, $$$, View} = require "atom"
|
||||
{$, $$, $$$, View} = require "atom-space-pen-views"
|
||||
|
||||
module.exports =
|
||||
class MessageView extends View
|
||||
|
|
Loading…
Reference in New Issue