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

ErikSchierboom / knockout-pre-rendered / 114
95%

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

pending completion
114

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

Jobs
ID Job ID Ran Files Coverage
1 114.1 15 Jan 2019 08:04PM UTC 0
95.12
Travis Job 114.1
Source Files on build 114
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #114
  • 36a082d5 on github
  • Prev Build on master (#109)
  • Next Build on master (#115)
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