 
     @_loadingGrammars = [cb]
     callbacks = (err) =>
-      console.log('LOADGRAMMARS: finished loading. unrolling ',@_loadingGrammars)
-      if err
-        console.log(err+''+err.stack)
 
       cbs = @_loadingGrammars
       @_loadingGrammars = true

  # per line and each line will contain one or more <span> elements for the
  # tokens in the line. All grammar loading and fs operations are async so you can use this module in a server or busy process.
  highlight: ({filePath, fileContents, scopeName}={},cb) ->
    @loadGrammars((err) =>
      if err
        return cb(err)

      if filePath
        fs.readFile(filePath, 'utf8', (err,fileContents)->
          if err
            return cb(err)




        grammarsDir = path.resolve(packageDir, 'grammars')
        @_registryLoadGrammarsDir(grammarsDir,cb)

      )
