File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -792,7 +792,9 @@ export const useTemplate = <
792792 configurable : true ,
793793 enumerable : true ,
794794 value ( this : E ) {
795- return maybeCall ( ( ) => _connectedCallback && _connectedCallback . call ( this ) )
795+ return maybeCall ( ( ) =>
796+ _connectedCallback && _connectedCallback . call ( this )
797+ )
796798 . then ( ( ) => maybeCall < HTMLTemplateElement > ( f ) )
797799 . then ( ( template ) => {
798800 if ( ! template ) return ;
Original file line number Diff line number Diff line change 11import { maybeCall , noop , randomUUID } from "./utilities.ts" ;
22import { CustomElement , CustomElementConstructor , State } from "./component.ts" ;
33
4- export const TestsSymbol = Symbol ( ) ;
4+ export const TestsSymbol = Symbol . for ( "fc-tests" ) ;
55
66export const constructComponent = <
77 S extends State ,
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+ r=" $( git rev-parse --show-toplevel) "
5+
6+ deno run --allow-all --config " $r /tsconfig.json" " $r /scripts/build.ts" " $@ "
Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ await build({
2626 } ,
2727 } ,
2828 shims : {
29- // see JS docs for overview and more options
30- deno : true ,
29+ deno : false ,
3130 } ,
3231 test : false ,
3332} ) ;
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+ r=" $( git rev-parse --show-toplevel) "
5+
6+ if [ " $CI " == true ] || [ " $# " -eq 0 ]; then
7+ deno fmt --config " $r /tsconfig.json" " $r /library/"
8+ else
9+ deno fmt --config " $r /tsconfig.json" " $@ "
10+ fi
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+ r=" $( git rev-parse --show-toplevel) "
5+
6+ if [ " $CI " == true ] || [ " $# " -eq 0 ]; then
7+ deno lint --config " $r /tsconfig.json" " $r /library/"
8+ else
9+ deno lint --config " $r /tsconfig.json" " $@ "
10+ fi
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+ r=" $( git rev-parse --show-toplevel) "
5+
6+ if [ " $CI " == true ] || [ " $# " -eq 0 ]; then
7+ deno test --config " $r /tsconfig.json" --allow-all --no-check --unstable " $r /library/"
8+ else
9+ deno test --config " $r /tsconfig.json" --watch --allow-all --unstable " $@ "
10+ fi
You can’t perform that action at this time.
0 commit comments