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

visgl / deck.gl / 11742225817

08 Nov 2024 12:36PM CUT coverage: 80.812% (-10.8%) from 91.643%
11742225817

Pull #9161

github

web-flow
Merge ad9dcea1b into 2de1bc5d3
Pull Request #9161: chore: Bump to luma.gl@9.1.0-beta, math.gl@4.3.0

4769 of 5426 branches covered (87.89%)

Branch coverage included in aggregate %.

13 of 14 new or added lines in 3 files covered. (92.86%)

6854 existing lines in 152 files now uncovered.

47062 of 58712 relevant lines covered (80.16%)

4938.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/modules/jupyter-widget/src/lib/components/description-card.js
UNCOV
1
// deck.gl
×
UNCOV
2
// SPDX-License-Identifier: MIT
×
UNCOV
3
// Copyright (c) vis.gl contributors
×
UNCOV
4

×
UNCOV
5
/* global document */
×
UNCOV
6

×
UNCOV
7
import {BOX_STYLE} from './component-css';
×
UNCOV
8

×
UNCOV
9
class DescriptionCard {
×
UNCOV
10
  constructor({container, props}) {
×
UNCOV
11
    const {description} = props;
×
12

×
13
    const div = document.createElement('div');
×
14
    div.className = 'deck-json-description-box';
×
15
    Object.assign(div.style, BOX_STYLE);
×
16
    this.el = div;
×
17

×
18
    const textContainer = document.createElement('div');
×
19
    textContainer.innerHTML = description;
×
20

×
21
    div.appendChild(textContainer);
×
22
    container.append(div);
×
23
  }
×
24

×
25
  remove() {
×
26
    this.el.remove();
×
UNCOV
27
    this.description = null;
×
28
  }
×
29

×
30
  static get stringName() {
×
UNCOV
31
    // name within JSON
×
UNCOV
32
    return 'description';
×
33
  }
×
34
}
×
35

×
36
export default DescriptionCard;
×
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