Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
43db54e5
"jshERP-web/src/views/git@ustchcs.com:gujinli1118/JSH_ERP.git" did not exist on "e4d2a5b7fb7d1c3743bc7b94786b8b492d973a44"
Commit
43db54e5
authored
Aug 08, 2017
by
Dave Machado
Committed by
GitHub
Aug 08, 2017
Browse files
Update conditional to use raw index of substring
parent
95071c35
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/condenseMd.js
View file @
43db54e5
...
...
@@ -36,7 +36,7 @@ function setupMd(filename, anchor) {
if
(
line
.
length
<
2
||
cur_line
==
lines
.
length
)
{
break
}
if
(
line
.
startsWith
(
"
|
"
)
)
{
if
(
line
.
indexOf
(
"
|
"
)
==
0
)
{
arr
.
push
(
line
+
table_name
)
}
}
...
...
@@ -60,4 +60,4 @@ if (process.argv.length < 4) {
}
else
{
anchorText
=
process
.
argv
[
3
];
}
setupMd
(
process
.
argv
[
2
].
toString
(),
anchorText
);
\ No newline at end of file
setupMd
(
process
.
argv
[
2
].
toString
(),
anchorText
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment