mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
update var declare formatting
This commit is contained in:
@@ -5,18 +5,20 @@ function setupMd(filename, anchor) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
return console.log(err);
|
return console.log(err);
|
||||||
}
|
}
|
||||||
var lines = text.split("\n");
|
var lines = text.split("\n"),
|
||||||
var cur_line = 0;
|
cur_line = 0,
|
||||||
var line = ""
|
line = "",
|
||||||
var table_name = "";
|
table_name = "",
|
||||||
var col_num = 0;
|
col_num = 0,
|
||||||
var cols = [];
|
cols = [],
|
||||||
var rows = [];
|
rows = [],
|
||||||
|
arr = [];
|
||||||
|
|
||||||
|
|
||||||
function read_line() {
|
function read_line() {
|
||||||
return lines[cur_line++];
|
return lines[cur_line++];
|
||||||
}
|
}
|
||||||
var arr = [];
|
|
||||||
while (true) {
|
while (true) {
|
||||||
var cols = [];
|
var cols = [];
|
||||||
var rows = [];
|
var rows = [];
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user