Code Review
/
portal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
nexus site path corrected
[portal.git]
/
ecomp-portal-FE
/
client
/
bower_components
/
jqTree
/
static
/
examples
/
load_json_data.js
1
$(function() {
2
var data = [
3
{
4
name: 'node1', id: 1,
5
children: [
6
{ name: 'child1', id: 2 },
7
{ name: 'child2', id: 3 }
8
]
9
},
10
{
11
name: 'node2', id: 4,
12
children: [
13
{ name: 'child3', id: 5 }
14
]
15
}
16
];
17
18
$('#tree1').tree({
19
data: data
20
});
21
});