beautify_js
This commit is contained in:
parent
0febe4f5fd
commit
5c2f32e184
208 changed files with 3891 additions and 1474 deletions
|
@ -1,5 +1,7 @@
|
|||
var result = {
|
||||
0: { children: [] }
|
||||
0: {
|
||||
children: []
|
||||
}
|
||||
};
|
||||
|
||||
$('div[id^="region"]').each(function() {
|
||||
|
@ -17,7 +19,7 @@ $('div[id^="region"]').each(function() {
|
|||
} else {
|
||||
pid = 0;
|
||||
}
|
||||
|
||||
|
||||
result[pid].children.push(+id);
|
||||
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue