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

hybridsjs / hybrids / 9387127968

05 Jun 2024 03:38PM UTC coverage: 46.684% (-53.3%) from 99.956%
9387127968

Pull #258

github

web-flow
Merge e936aa704 into 36d6e398d
Pull Request #258: feat: remove `content` property & add shadow mode detection to render property

611 of 1778 branches covered (34.36%)

69 of 97 new or added lines in 9 files covered. (71.13%)

1169 existing lines in 25 files now uncovered.

1049 of 2247 relevant lines covered (46.68%)

32.63 hits per line

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

0.0
/src/template/methods.js
1
export function key(id) {
UNCOV
2
  this.id = id;
×
UNCOV
3
  return this;
×
4
}
5

6
export function style(...styles) {
UNCOV
7
  this.styleSheets = this.styleSheets || [];
×
UNCOV
8
  this.styleSheets.push(...styles);
×
9

UNCOV
10
  return this;
×
11
}
12

13
export function css(parts, ...args) {
UNCOV
14
  this.styleSheets = this.styleSheets || [];
×
15

UNCOV
16
  let result = parts[0];
×
UNCOV
17
  for (let index = 1; index < parts.length; index++) {
×
UNCOV
18
    result +=
×
19
      (args[index - 1] !== undefined ? args[index - 1] : "") + parts[index];
×
20
  }
21

UNCOV
22
  this.styleSheets.push(result);
×
23

UNCOV
24
  return this;
×
25
}
26

27
export function use(plugin) {
UNCOV
28
  this.plugins = this.plugins || [];
×
UNCOV
29
  this.plugins.push(plugin);
×
30

UNCOV
31
  return this;
×
32
}
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