     catch err
       error = err
     finally
-      callback error, result+      callback error, result

  extension: 'hbs'
  precompile: off
  root: null
  modulesPrefix: ''

  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 on
      @modulesPrefix = 'module.exports = '
    null

  compile: (data, path, callback) ->

sysPath     = require 'path'
compileHBS  = require './ember-handlebars-compiler'

module.exports = class EmberHandlebarsCompiler
