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
9698480c
"ruoyi-ui/src/vscode:/vscode.git/clone" did not exist on "12ab8b03d9acb77848c4db9bb0451e77af60acb6"
Unverified
Commit
9698480c
authored
Jul 03, 2017
by
Dave Machado
Browse files
Remove ES6 dependencies from build script
parent
768858cc
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
build/build.sh
View file @
9698480c
...
...
@@ -6,5 +6,3 @@ mkdir -p ../json
node md2json.js ../README.md
>
../json/entries.min.json
# beautify the previously created JSON file, redirect to /json
python
-m
json.tool ../json/entries.min.json
>
../json/entries.json
# print out pretty JSON (useful for debugging, checking for new entries, etc)
cat
../json/entries.json
build/md2json.js
View file @
9698480c
fs
=
require
(
'
fs
'
)
function
md_trim
(
str
,
context
=
null
)
{
function
md_trim
(
str
,
context
)
{
str
=
str
.
replace
(
/
(
^
\s
+
)
|
(\s
+$
)
/g
,
""
);
if
(
context
==
1
)
{
// Name
...
...
@@ -52,7 +52,7 @@ function handle(filename, anchor) {
break
;
}
table_name
=
line
.
split
(
anchor
)[
1
];
table_name
=
md_trim
(
table_name
)
table_name
=
md_trim
(
table_name
,
0
)
line
=
read_line
()
...
...
@@ -60,7 +60,7 @@ function handle(filename, anchor) {
line
=
line
.
split
(
"
|
"
)
for
(
var
j
in
line
)
{
line
[
j
]
=
md_trim
(
line
[
j
])
line
[
j
]
=
md_trim
(
line
[
j
]
,
0
)
if
((
j
==
0
||
j
==
line
.
length
-
1
)
&&
line
[
j
]
===
""
)
{
}
else
{
...
...
json/entries.json
View file @
9698480c
This diff is collapsed.
Click to expand it.
json/entries.min.json
View file @
9698480c
This diff is collapsed.
Click to expand it.
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