Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Remove unused Subscriber mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Feb 4, 2015
1 parent 888d6df commit 4e10ea0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/less-compile-cache.coffee
@@ -1,13 +1,10 @@
path = require 'path'
fs = require 'fs-plus'
LessCache = require 'less-cache'
{Subscriber} = require 'emissary'

# {LessCache} wrapper used by {ThemeManager} to read stylesheets.
module.exports =
class LessCompileCache
Subscriber.includeInto(this)

@cacheDir: path.join(process.env.ATOM_HOME, 'compile-cache', 'less')

constructor: ({resourcePath, importPaths}) ->
Expand Down Expand Up @@ -35,5 +32,3 @@ class LessCompileCache

cssForFile: (stylesheetPath, lessContent) ->
@cache.cssForFile(stylesheetPath, lessContent)

destroy: -> @unsubscribe()

0 comments on commit 4e10ea0

Please sign in to comment.