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

jridgewell / minionette
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v2
DEFAULT BRANCH: master
Repo Added 08 Mar 2014 03:32AM UTC
Files 9
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

LAST BUILD ON BRANCH v2_performant_remove
branch: v2_performant_remove
CHANGE BRANCH
x
Reset
  • v2_performant_remove
  • master
  • v1.6.0
  • v1.6.1
  • v1.7.0
  • v2
  • v2_collection_emptyView

pending completion
143

push

travis-ci

jridgewell
Use cascading triggers to trigger subview's "remove" event.

Since the "remove" event must happen before any of the view's DOM tree is removed,
we couldn't remove a top level view without calling #remove on each
subview (and their subviews). This was a **major** performance issue.
Using this cascading triggers technique, we might be able to
preemptively cause the "remove" event to happen on subviews before
actually calling #remove on them. With that we can just `$el.remove` the
top level view's element, and only have 1 reflow.

ping @jmeas, re: https://github.com/marionettejs/backbone.marionette/issues/2134

265 of 265 relevant lines covered (100.0%)

231.22 hits per line

Relevant lines Covered
Build:
Build:
265 RELEVANT LINES 265 COVERED LINES
231.22 HITS PER LINE
Source Files on v2_performant_remove
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
143 v2_performant_remove Use cascading triggers to trigger subview's "remove" event. Since the "remove" event must happen before any of the view's DOM tree is removed, we couldn't remove a top level view without calling #remove on each subview (and their subviews). This ... push 20 Dec 2014 03:57AM UTC jridgewell travis-ci pending completion  
See All Builds (50)
  • Repo on GitHub
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

© 2025 Coveralls, Inc