mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 01:38:11 +08:00
chore: replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin (#2525)
* Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin * Fix lint issues in JS * remove favicons * update snapshots * update annotations snapshots Co-authored-by: Trent Smith <1429913+Bento007@users.noreply.github.com> Co-authored-by: Seve Badajoz <sbadajoz@chanzuckerberg.com>
This commit is contained in:
co-authored by
Trent Smith
Seve Badajoz
parent
f2bd6ebce1
commit
8b4c1e418e
@@ -58,10 +58,11 @@ function _maskToList(mask) {
|
||||
if (!mask) {
|
||||
return null;
|
||||
}
|
||||
const list = new Int32Array(mask.length);
|
||||
const [...m] = mask;
|
||||
const list = new Int32Array(m.length);
|
||||
let elems = 0;
|
||||
for (let i = 0, l = mask.length; i < l; i += 1) {
|
||||
if (mask[i]) {
|
||||
for (let i = 0, l = m.length; i < l; i += 1) {
|
||||
if (m[i]) {
|
||||
list[elems] = i;
|
||||
elems += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user