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

tbranyen / diffhtml / 569
99%

Build:
DEFAULT BRANCH: master
Ran 23 Feb 2017 05:21PM UTC
Jobs 2
Files 28
Run time 47s
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
569

push

travis-ci

web-flow
Internals rewrite (#112)

* A new transaction flow concept using tasks

This creates a new way to render diffHTML by flowing tasks through a
transaction. Transactions are like deferreds, only abortable. Each task
gets called with a single argument which is a `transaction` instance.
Middleware are now part of this transaction flow.

Check out the lib/tasks folder to see each stage of diffHTML rendering.

diffHTML has been a radical collection of good ideas poorly implemented.
This commit attempts to reverse some of the bad code ideas, and make the
project generally more consistent. I'm starting with `createTree`,
before this was known as `createElement` and was a way of create
virtual trees. This new method has a better name and role, where-as it
is called on any tagged template child value automatically and will
simply be an identity function for any VTree passed to it. This ensures
that all trees are fully formed before a transaction ever starts.

I'm going to continue the refactor by gutting and redoing the tree
synchronization code. I'm going to focus on making patches that are
driven by the DOM method ultimately called. This will make applying the
patches incredibly easy and allow us to batch attributes from DOM
methods, which was not always the case before.

783 of 805 relevant lines covered (97.27%)

300.98 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/23239187 569.1 23 Feb 2017 05:22PM UTC 0
97.27
Travis Job 569.1
2 /jobs/23239156 569.2 23 Feb 2017 05:21PM UTC 0
97.27
Travis Job 569.2
Source Files on build 569
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #569
  • f1169b4e on github
  • Prev Build on master (#496)
  • Next Build on master (#570)
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