• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tj / co / 225 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feat/ch13
DEFAULT BRANCH: master
Ran 13 Sep 2018 05:14AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Sep 2018 05:11AM UTC coverage: 100.0%. Remained the same
225.1

Pull #327

travis-ci

web-flow
adding ability to pass classical inhertiance object

adding ability to pass classical inhertiance object

```
co(function* () {
  function Human(name, age) {
    this.name = name;
    this.age = age;
  }

  Human.prototype.getName = function() {
    return this.name;
  };

  Human.prototype.getAge = function() {
    return this.age;
  }

  let Asian = function(name, age) {
    Human.call(this, name, age);
    this.country = 'Brunei';
  }

  Asian.prototype = Object.create(Human.prototype);

  let agus = new Asian('Agus', 29);

  let res = yield agus;
  console.log(typeof res);
  console.log(res); // { name: 'Agus', age: 29, country: 'Brunei' }
  console.log(res.getName()); // Agus
  console.log(res.country); // brunei
})
.catch(function(e) {
  console.log(e);
});

```
Pull Request #327: adding ability to pass classical inheritance object

43 of 44 branches covered (97.73%)

75 of 75 relevant lines covered (100.0%)

39.85 hits per line

Source Files on job 225.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 225
  • Travis Job 225.1
  • 27413941 on github
  • Prev Job for on codetrash-patch-1 (#210.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc