• 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/playground/utils/script-utils.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
// Ensure we only load a script once
×
UNCOV
8
const scriptLoadPromises = {};
×
UNCOV
9

×
UNCOV
10
export function loadScript(url) {
×
11
  if (!scriptLoadPromises[url]) {
×
12
    const script = document.createElement('script');
×
13
    script.type = 'text/javascript';
×
14
    script.src = url;
×
15
    const head = document.querySelector('head');
×
16
    head.appendChild(script);
×
17

×
18
    scriptLoadPromises[url] = new Promise(resolve => {
×
19
      script.onload = resolve;
×
20
    });
×
21
  }
×
22
  return scriptLoadPromises[url];
×
23
}
×
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