feat: finish multi lnaguage support

This commit is contained in:
Bogdan Lyashenko
2019-02-09 21:13:41 +01:00
parent eed383522b
commit 8155ed3207
20 changed files with 202 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
const { setupGetCrumbs, setupdGetCommentsFromCode } = require('../default/codecrumbs');
const JAVA_COMMENT_REGEX = /^([^\/\/]*)\/\/(.*)$/;
const getCrumbs = setupGetCrumbs(setupdGetCommentsFromCode(JAVA_COMMENT_REGEX));
// replace with own implementation if needed
module.exports = {
getCrumbs
};