diff2html/src/ui/js/diff2html-ui.ts

13 lines
450 B
TypeScript
Raw Normal View History

2019-12-29 22:31:32 +00:00
import hljs from 'highlight.js';
2019-10-12 21:45:49 +00:00
2019-12-29 22:31:32 +00:00
import { DiffFile } from '../../types';
import { Diff2HtmlUI as Diff2HtmlUIBase, Diff2HtmlUIConfig, defaultDiff2HtmlUIConfig } from './diff2html-ui-base';
2019-10-12 21:45:49 +00:00
2019-12-29 22:31:32 +00:00
export class Diff2HtmlUI extends Diff2HtmlUIBase {
constructor(target: HTMLElement, diffInput?: string | DiffFile[], config: Diff2HtmlUIConfig = {}) {
super(target, diffInput, config, hljs);
2019-10-12 21:45:49 +00:00
}
}
2019-12-29 22:31:32 +00:00
export { Diff2HtmlUIConfig, defaultDiff2HtmlUIConfig };