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

mstade / funkis / 61 / 1
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: get-in
DEFAULT BRANCH: master
Ran 24 Apr 2014 07:58PM UTC
Files 32
Run time 2s
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

24 Apr 2014 07:52PM UTC coverage: 100.0%. First build
61.1

push

travis-ci

mstade
Added `defprop` for adding properties to an object

This is a wrapper around `Object.defineProperties` which makes
it easier to add immutable and non-enumerable properties to
objects. Just like `Object.defineProperties`, this function
will mutate the object in place.

It *is* possible to make the properties both mutable and
enumerable (but not removable) – however this is by design
made to be uncomfortable.

Accessor functions or values that are functions will have
their scope bound to a private scope, which is an extension of
the target object. This allows functions to share data
internally, without fear of exposing anything to the outside
world. A caveat here is that subsequent calls to `defprop`
will create a *different* private scope, with the assumption
being that such calls imply that the properties are unrelated.
I may want to rethink this at some point.

310 of 310 relevant lines covered (100.0%)

1123.64 hits per line

Source Files on job 61.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 61
  • Travis Job 61.1
  • eb29fca5 on github
  • Next Job for on deftype (#63.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