##// END OF EJS Templates
refactoring, adding scope to rendering methods
refactoring, adding scope to rendering methods

File last commit:

r65:8ac132c83639 default
r96:a316cfea8bb1 v1.3
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")
});