mirror of https://github.com/jkjoy/sunpeiwen.git
11 lines
376 B
JavaScript
11 lines
376 B
JavaScript
|
function emitWarning() {
|
||
|
if (!emitWarning.warned) {
|
||
|
emitWarning.warned = true;
|
||
|
console.log(
|
||
|
'Deprecation (warning): Using file extension in specifier is deprecated, use "highlight.js/lib/languages/x86asm" instead of "highlight.js/lib/languages/x86asm.js"'
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
emitWarning();
|
||
|
import lang from './x86asm.js';
|
||
|
export default lang;
|