##// END OF EJS Templates
* tsx/{Xxx}Context renamed to tsx/{Xxx}Rendition, for old types made...
* tsx/{Xxx}Context renamed to tsx/{Xxx}Rendition, for old types made compatibility stubs with @deprected comments * Improved handling of functional component output, added support for boolean, null, undefined and widgets. * RenditionBase: fixed startup for the DocumentFragment nodes * startupWidgets: fixed startup of the widget when passed domNode of the widget. * DjxFragment converted to the functional component

File last commit:

r55:dd0d589acfbb v1.0.8 default
r63:1a0018655d1c v1.1.0 default
Show More
foo.ts
9 lines | 200 B | video/mp2t | TypeScriptLexer
import { bundle } from "../i18n";
export default bundle({
greeting: (name: string) => `Hello, ${name}!`,
goodbye: (name: string) => `Bye, ${name}!`
}, {
ru: () => import("./ru/foo")
});