Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Commit 3fe2fe3

Browse files
authored
Merge pull request #104 from aidenybai/staging
2 parents b9c53b1 + ec1bf19 commit 3fe2fe3

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

src/component.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* istanbul ignore next */
2+
13
import { Directives, DirectiveProps, Watchers, State, ASTNode } from './models/structs';
24

35
import { directives } from './core/directive';

src/core/directives/bind.ts

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export const bindDirective = ({ el, parts, data, state }: DirectiveProps) => {
4242
} else if (formatAcceptableWhitespace(rawClasses).length > 0) {
4343
return el.setAttribute('class', formatAcceptableWhitespace(rawClasses));
4444
} else if (el.hasAttribute('class')) {
45+
/* istanbul ignore next */
4546
return el.removeAttribute('class');
4647
}
4748
}

src/core/directives/for.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* istanbul ignore file */
2+
13
import { DIRECTIVE_PREFIX } from '../../models/generics';
24
import { DirectiveProps } from '../../models/structs';
35

src/core/directives/model.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const inputCallback = (
99
state: State
1010
) => {
1111
if (el.type === 'checkbox') {
12+
/* istanbul ignore next */
1213
el.value = String(el.checked);
1314
}
1415

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -2368,9 +2368,9 @@ error-ex@^1.3.1:
23682368
is-arrayish "^0.2.1"
23692369

23702370
esbuild@^0.11.1:
2371-
version "0.11.3"
2372-
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.3.tgz#b57165b907be4ffba651f6450538ce8d8c1d5eb0"
2373-
integrity sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==
2371+
version "0.11.5"
2372+
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.5.tgz#25b18a2ff2fb9580683edce26a48f64c08c2f2df"
2373+
integrity sha512-aRs6jAE+bVRp1tyfzUugAw1T/Y0Fwzp4Z2ROikF3h+UifoD5QlEbEYQGc6orNnnSIRhWR5VWBH7LozlAumaLHg==
23742374

23752375
escalade@^3.1.1:
23762376
version "3.1.1"

0 commit comments

Comments
 (0)