   ###
 
   uglifyOutput : (output) ->
-  	ast = jsp.parse output  # parse code and get the initial AST
-  	ast = pro.ast_mangle ast # get a new AST with mangled names
-  	ast = pro.ast_squeeze ast # get an AST with compression optimizations
-  	pro.gen_code ast # compressed code here
+    ast = jsp.parse output  # parse code and get the initial AST
+    ast = pro.ast_mangle ast # get a new AST with mangled names
+    ast = pro.ast_squeeze ast # get an AST with compression optimizations
+    pro.gen_code ast # compressed code here
 
 ###
 ---Module exports---

    {source, namespace, compileDebug, inline} = @settings
    
    templateNamespace = template.replace(/\//g, '.') # Replaces '/' with '.'
  
    if @settings.verbose
      console.log "Compiling #{namespace}.#{templateNamespace} from #{source+template}"
    

###

module.exports.precompile = (settings,dir) ->
  extend(globalSettings, settings)
  globalSettings.dir = dir
  
  # Asynchronously run compilers at same time
  async.forEach settings.groups, (groupSetting, callback) ->
    precompiler = new Precompiler(groupSetting, callback)
    precompiler.compile()
  , (err, res) ->
    if err? then console.log err
    else console.log "\n\n\n...Done.\n\n"
    
