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

danielstocks / yak
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: refactor/remove-lodash
DEFAULT BRANCH: master
Repo Added 02 Oct 2015 07:23AM UTC
Files 2
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

LAST BUILD ON BRANCH feature/collections
branch: feature/collections
CHANGE BRANCH
x
Reset
  • feature/collections
  • ci
  • feature/nested-models
  • feature/parse
  • master
  • refactor/remove-lodash

pending completion
20

push

travis-ci

danielstocks
Added collections

Make a backwards incompatible change when using Model.all.
In the callback argument, models are now namespaced under the models
given name. For instance:

var Fruit = yak.model({
  name: "fruits"
});
Fruit.all().then(collection => {
  collection.fruits.forEach(fruit => {
    console.log(fruit.attrs.name);
  });
});

This will break any existing implementations relying on the models
being directly accessible via an array in the callback argument

50 of 51 relevant lines covered (98.04%)

2.35 hits per line

Relevant lines Covered
Build:
Build:
51 RELEVANT LINES 50 COVERED LINES
2.35 HITS PER LINE
Source Files on feature/collections
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20 feature/collections Added collections Make a backwards incompatible change when using Model.all. In the callback argument, models are now namespaced under the models given name. For instance: var Fruit = yak.model({ name: "fruits" }); Fruit.all().then(collection ... push 26 Jan 2016 03:43PM UTC danielstocks travis-ci pending completion  
See All Builds (35)
  • Repo on GitHub
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

© 2025 Coveralls, Inc