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

ds82 / tiny-di / 24
97%
master: 91%

Build:
Build:
LAST BUILD BRANCH: greenkeeper-istanbul-0.4.3
DEFAULT BRANCH: master
Ran 10 Jul 2015 09:25AM UTC
Jobs 4
Files 13
Run time 23min
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

pending completion
24

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%)

16.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24.1 10 Jul 2015 09:25AM UTC 0
97.16
Travis Job 24.1
2 24.2 10 Jul 2015 09:25AM UTC 0
97.16
Travis Job 24.2
3 24.3 10 Jul 2015 09:49AM UTC 0
97.16
Travis Job 24.3
4 24.4 10 Jul 2015 09:25AM UTC 0
97.16
Travis Job 24.4
Source Files on build 24
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #24
  • f078858b 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

© 2026 Coveralls, Inc