nornj
Version:
A powerful template engine that can works with React, JSX enhancement or alternative tools.
19 lines (17 loc) • 304 B
JavaScript
import nj from './core';
import { assign } from './utils/tools';
export function config(configs) {
const {
createElement,
outputH
} = configs;
if (createElement) {
nj.createElement = createElement;
}
if (outputH != null) {
nj.outputH = outputH;
}
}
assign(nj, {
config
});