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

caleb531 / flip-book / 10498848679

21 Aug 2024 11:10PM UTC coverage: 26.831% (+2.8%) from 24.055%
10498848679

push

github

caleb531
Rename components to have *.jsx extension

This is a preliminary step to the actual conversion to JSX.

72 of 102 branches covered (70.59%)

Branch coverage included in aggregate %.

0 of 65 new or added lines in 17 files covered. (0.0%)

386 of 1605 relevant lines covered (24.05%)

7.23 hits per line

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

0.0
/scripts/components/modal.jsx
1
import m from 'mithril';
×
NEW
2
import OverlayComponent from './overlay.jsx';
×
3

4
class ModalComponent {
×
5

6
  view(vnode) {
×
7
    return [
×
8
      m(OverlayComponent, {
×
9
        type: 'modal',
×
10
        onDismiss: () => {
×
11
          /* do nothing */
12
        }
×
13
      }),
×
14
      m('div.modal', vnode.attrs, vnode.children)
×
15
    ];
×
16
  }
×
17

18
}
×
19

20
export default ModalComponent;
×
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

© 2026 Coveralls, Inc