 path = require 'path'
 [mkdirp, coffee, uglify] = []
 
-class StylusAutocompile
+class CoffeeAutocompile
   activate: ->
     @disposable = atom.commands.add 'atom-workspace', 'core:save', @handleSave
 

    (value is 'true' or value is 'yes' or value is 1) and
      value isnt 'false' and value isnt 'no' and value isnt 0

module.exports = new StylusAutocompile()


    @writeFile filePath, js
    @writeFile "#{filePath}.map", v3SourceMap if v3SourceMap

  writeFile: (filePath, content) ->
    mkdirp ?= require 'mkdirp'
