See #372. Fix deprecation, switch to using atom-space-pen-views

This commit is contained in:
Glavin Wiechert 2015-05-27 20:05:06 -03:00
parent a8d900425a
commit ecd1012458
3 changed files with 4 additions and 5 deletions

View File

@ -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')

View File

@ -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

View File

@ -1,4 +1,4 @@
{$, $$, $$$, View} = require "atom"
{$, $$, $$$, View} = require "atom-space-pen-views"
module.exports =
class MessageView extends View