Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ember-mdi (Testomat.io fork)

Fork of kaermorchen/ember-mdi v2.0.0.

This is the published npm distribution (built dist/, no src/, no rollup build) — icons are not regenerated here, so the icon set stays byte-identical to upstream 2.0.0.

The only change: dist/md-icon.js

The animateSpin modifier called element.getAnimations() on every icon on every render. That forces a style/layout recalc per icon; on large projects (~2000 icons in the suites tree) it was a measurable rendering cost, while ~99% of icons never spin.

Now a module-level WeakSet tracks the elements that actually have a spin animation, and getAnimations() is only called when cancelling one.

Previously carried in the app as patches/ember-mdi+2.0.0.patch (patch-package).

Usage

Consumed by testomatio-front via "ember-mdi": "file:../ember-mdi".

Yarn 1 copies file: dependencies into node_modules, so after editing this package run:

cd ../testomatio-front && yarn install --force

Releases

Packages

Contributors

Languages