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

ds82 / tiny-di / 25 / 3
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2015 11:36AM UTC
Files 13
Run time 1s
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

10 Jul 2015 09:19AM UTC coverage: 97.163% (+0.2%) from 97.007%
25.3

push

travis-ci

ds82
feat($inject): $inject may now be an object with options

Module.$inject = ['DepA', 'DepB'];

is now equivalent with

Module.$inject = {
  deps: ['DepA', 'DepB'],
  callAs: 'function'
}

With this extension you now can tell tiny to instantiate a Module as Class:

Module.$inject = {
  deps: ['DepA', 'DepB'],
  callAs: 'class'
}

This will give you `new Module(DepA, Dep)`. No need to use the constructor
Pattern anymore!

411 of 423 relevant lines covered (97.16%)

4.09 hits per line

Source Files on job 25.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25
  • Travis Job 25.3
  • f078858b on github
  • Prev Job for on master (#23.3)
  • Next Job for on master (#30.2)
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