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

ErikSchierboom / knockout-pre-rendered / 114 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 15 Jan 2019 08:04PM 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

15 Jan 2019 08:03PM UTC coverage: 95.122% (+0.5%) from 94.656%
114.1

push

travis-ci

ErikSchierboom
Support multiple bindings - Fixes issue #56  (#59)

* Support multiple bindings - Fixes issue #56 - Combining textInput with enable

Extends the "init" method of knockout's built-in bindings:
   * Wraps each binding's "init" method in an outer function that reads the binding's value from the markup, and writes it to the model (but only if the "init" binding is also present in allBindings).
   * The wrapper function performs the binding-specific read logic previously found in the (now removed) initObservable function
   * Respects the init binding's `convert` option, as well as any destination field override (e.g. `init: fieldName` or `init: { field: fieldName }`).
   * (experimental) The `convert` option can now have separate convert functions per binding. (e.g. `convert: { text: toUpper }`)

Added support for "css" binding:
   * Writes a boolean value to the model if the specified classname is present.

Added corresponding tests and a new example page.

* Fixed format issue.

* Implemented Erik's suggestions.

   * Simplified the hasFieldOverride function.
   * Rearranged the init function to avoid unnecessary nesting.

* Updated npm packages to latest versions.

* Updated NodeJS version in .travis.yml

273 of 287 relevant lines covered (95.12%)

53.95 hits per line

Source Files on job 114.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 110
  • Travis Job 114.1
  • 36a082d5 on github
  • Prev Job for on master (#109.1)
  • Next Job for on master (#115.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