lib/configurator.js
function Configurator(){
  // Store reference to the tree/template
  this.__tree = {};
  // Cached instance of the fully rendered tree.
  this.__cachedResolvedTree = null;
  // Configuration for the GraphBuilder
  this.__config = {
   directives: {
     file: new (require('./directives/file.js')),
     http: new (require('./directives/http.js')),
     require: new (require('./directives/require.js'))
   },
   resolvers: {
     absolute: {
       order: 1,
       resolve: Path.resolve(__dirname, './resolvers/absolute.js')
     },
     relative: {
       order: 2,
       resolve: Path.resolve(__dirname, './resolvers/relative.js')
     },
     environment: {
       order: 3,
       resolve: Path.resolve(__dirname, './resolvers/environment.js')
     }
   }
  };
}
function Configurator(){
  // Store reference to the tree/template
  this.__tree = {};
  // Cached instance of the fully rendered tree.
  this.__cachedResolvedTree = null;
  // Configuration for the GraphBuilder
  this.__config = {
   directives: {
     file: new (require('./directives/file.js')),
     http: new (require('./directives/http.js')),
     require: new (require('./directives/require.js'))
   },
   resolvers: {
     absolute: {
       order: 1,
       resolve: Path.resolve(__dirname, './resolvers/absolute.js')
     },
     relative: {
       order: 2,
       resolve: Path.resolve(__dirname, './resolvers/relative.js')
     },
     environment: {
       order: 3,
       resolve: Path.resolve(__dirname, './resolvers/environment.js')
     }
   }
  };
}
function Configurator ( ) { // Store reference to the tree/template this . __tree = { } ; // Cached instance of the fully rendered tree. this . __cachedResolvedTree = null ; // Configuration for the GraphBuilder this . __config = { directives : { file : new ( require ( './directives/file.js' ) ) , http : new ( require ( './directives/http.js' ) ) , require : new ( require ( './directives/require.js' ) ) } , resolvers : { absolute : { order : 1 , resolve : Path . resolve ( __dirname , './resolvers/absolute.js' ) } , relative : { order : 2 , resolve : Path . resolve ( __dirname , './resolvers/relative.js' ) } , environment : { order : 3 , resolve : Path . resolve ( __dirname , './resolvers/environment.js' ) } } } ; }
Main interface for interacting with Evergreen.
@constructor
Main interface for interacting with Evergreen .