 sysPath     = require 'path'
-fs          = require 'fs'
 compileHBS  = require './ember-handlebars-compiler'
 
 module.exports = class EmberHandlebarsCompiler

    catch err
      error = err
    finally
      callback error, result
  extension: 'hbs'
  precompile: off
  root: null
  modulesPrefix: 'module.exports = '

  constructor: (@config) ->
    if @config.files.templates.precompile is on
      @precompile = on
    if @config.files.templates.root?
      @root = sysPath.join 'app', @config.files.templates.root, sysPath.sep
    if @config.modules.wrapper is off
      @modulesPrefix = ''
    null

  compile: (data, path, callback) ->
