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

marko-js / marko / 2652
91%

Build:
DEFAULT BRANCH: master
Ran 27 Aug 2018 06:50PM UTC
Jobs 3
Files 311
Run time 11min
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
2652

push

travis-ci

web-flow
Diffing/Keying fixes (#1094)

* Updates the diffing algorithm to use an HTMLFragment node as an abstraction rather than keeping track of startNode and endNode all throughout the diffing algorithm.

* Uses the HTMLFragment for the <${dynamic}> tag and <include> tags to preserve server-rendered content for which the renderBody is not available in the browser.

* Component ids are based on the resulting parent tree (not the owner tree). This means we cannot rely on the ids in the global lookup, so component key/refs are now also stored on the component instance.

* Static node trees are now only auto assigned a key for the top-level node (instead of all nodes).

* Server comment starting markers now have the component's key serialized so the component can be attached to its owner

* Server comment markers no longer have the id on the closing marker, it is stack based.

* Normalize differences between hydration and client-rendering, so post mount the DOM looks the same regardless of whether a component was server or client rendered.

* fix matching up fragments when hydrating by taking components and normalized text nodes into account

* remove wrapping divs in test, should no longer be needed.  address hydration issue with alternate fragment matching approach.

* add fragment to dom if there's a parentNode even if no startNode

* add test for mismatched hydration

* don't detach components before moving

* use fragments to preserve renderBody content

* use ___finishFragment as the incomplete fragment marker

* ensure fragments get destroyed properly and dom node key sequences don't continue from previous renders

* use parent/owner terminology in more places, component ids are now parent scoped, key/ref components are attached to their owner for both client + server render, server comment boundaries include the owner and the key in addition to the fully scoped component id, autokeyed dom nodes are attached to their parent, ... (continued)

4829 of 5835 branches covered (82.76%)

343 of 343 new or added lines in 23 files covered. (100.0%)

10602 of 11739 relevant lines covered (90.31%)

18670.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2652.1 27 Aug 2018 06:52PM UTC 0
90.31
Travis Job 2652.1
2 2652.2 27 Aug 2018 06:50PM UTC 0
90.31
Travis Job 2652.2
3 2652.3 27 Aug 2018 07:01PM UTC 0
90.31
Travis Job 2652.3
Source Files on build 2652
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2652
  • df79fcc5 on github
  • Prev Build on master (#2648)
  • Next Build on master (#2653)
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