mirror of https://github.com/jkjoy/sunpeiwen.git
10 lines
351 B
JavaScript
10 lines
351 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/dos" instead of "highlight.js/lib/languages/dos.js"'
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
emitWarning();
|
||
|
module.exports = require('./dos.js');
|