This repository was archived by the owner on Jan 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 5
5
processPropertyIdentity ,
6
6
processBooleanAttribute
7
7
} from '@github/template-parts'
8
- import { processDirective } from './directive'
9
- import { processEvent } from './events'
8
+ import { processDirective } from './directive.js '
9
+ import { processEvent } from './events.js '
10
10
import type { TemplatePart , TemplateTypeInit } from '@github/template-parts'
11
11
12
12
function processSubTemplate ( part : TemplatePart , value : unknown ) : boolean {
Original file line number Diff line number Diff line change 1
- export { TemplateResult , html , render } from './html'
2
- export { isDirective , directive } from './directive'
3
- export { until } from './until'
4
- export { unsafeHTML } from './unsafe-html'
1
+ export { TemplateResult , html , render } from './html.js '
2
+ export { isDirective , directive } from './directive.js '
3
+ export { until } from './until.js '
4
+ export { unsafeHTML } from './unsafe-html.js '
Original file line number Diff line number Diff line change 1
- import { directive } from './directive'
1
+ import { directive } from './directive.js '
2
2
import { NodeTemplatePart } from '@github/template-parts'
3
3
import type { TemplatePart } from '@github/template-parts'
4
4
Original file line number Diff line number Diff line change 1
- import { processPart } from './html'
2
- import { directive } from './directive'
1
+ import { processPart } from './html.js '
2
+ import { directive } from './directive.js '
3
3
import type { TemplatePart } from '@github/template-parts'
4
4
5
5
const untils : WeakMap < TemplatePart , { i : number } > = new WeakMap ( )
Original file line number Diff line number Diff line change 1
- import { html , render , directive } from '..'
1
+ import { html , render , directive } from '../lib/index.js '
2
2
3
3
describe ( 'html' , ( ) => {
4
4
it ( 'creates new TemplateResults with each call' , ( ) => {
Original file line number Diff line number Diff line change 1
- import { html , render , unsafeHTML } from '..'
1
+ import { html , render , unsafeHTML } from '../lib/index.js '
2
2
3
3
describe ( 'unsafeHTML' , ( ) => {
4
4
it ( 'renders basic text' , async ( ) => {
Original file line number Diff line number Diff line change 1
- import { html , render , until } from '..'
1
+ import { html , render , until } from '../lib/index.js '
2
2
3
3
describe ( 'until' , ( ) => {
4
4
it ( 'renders a Promise when it resolves' , async ( ) => {
You can’t perform that action at this time.
0 commit comments