Fix documentation generator

This commit is contained in:
Amish Shah
2016-09-03 21:25:56 +01:00
parent 7ff2568cfc
commit 1be0270796
2 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -12,6 +12,9 @@ const regex = /([\w]+)([^\w]+)/;
const regexG = /([\w]+)([^\w]+)/g;
function splitVarName(str) {
if (str === '*') {
return ['*', ''];
}
const matches = str.match(regexG);
const output = [];
if (matches) {