lib/meta/class.js
function(filePath) {

    if( path.extname(filePath) === '.js' ) {
      filePath = path.dirname(filePath);
    }

    ////console.log(colors.gray('loading meta:'), filePath);

    this.filePath = filePath;

    var meta = require(filePath + '/meta');

    //set the name of the class to the last name value
    this.name = meta.name;

    if( typeof this.meta === 'object' ) {
      this.meta = merge(meta, this.meta);
    } else {
      this.meta = meta;
    }
  }
function(filePath) {

    if( path.extname(filePath) === '.js' ) {
      filePath = path.dirname(filePath);
    }

    ////console.log(colors.gray('loading meta:'), filePath);

    this.filePath = filePath;

    var meta = require(filePath + '/meta');

    //set the name of the class to the last name value
    this.name = meta.name;

    if( typeof this.meta === 'object' ) {
      this.meta = merge(meta, this.meta);
    } else {
      this.meta = meta;
    }
  }
function ( filePath ) { if ( path . extname ( filePath ) === '.js' ) { filePath = path . dirname ( filePath ) ; } ////console.log(colors.gray('loading meta:'), filePath); this . filePath = filePath ; var meta = require ( filePath + '/meta' ) ; //set the name of the class to the last name value this . name = meta . name ; if ( typeof this . meta === 'object' ) { this . meta = merge ( meta , this . meta ) ; } else { this . meta = meta ; } }
load a meta file and merge on top of current meta data
load a meta file and merge on top of current meta data