0.0.2 • Published 9 years ago

basic-model v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

basic-model Build Status

Basic model written using Babel.

Install

$ npm install basic-model --save

Usage

import Model from "basic-model";

class Person extends Model {
  constructor(attributes){
    super(attributes);
  }

  sayMyName(){
    console.log(`Hello, my name is ${this.get('name')}`);
  }
}

How to run locally installed gulp

$ node_modules/gulp/bin/gulp.js

License

MIT license; see LICENSE.

(c) 2015 by Alejandro Maggi