mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-24 09:48:37 +08:00
16 lines
311 B
JavaScript
16 lines
311 B
JavaScript
import highlight from './highlight'
|
|
import beautify from 'js-beautify'
|
|
import config from './config'
|
|
|
|
export default function (util)
|
|
{
|
|
Object.assign(util, {
|
|
highlight,
|
|
beautify,
|
|
createCfg(name)
|
|
{
|
|
return config.create('eruda-' + name);
|
|
}
|
|
});
|
|
}
|