projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix bug in style changes for the Use cases on the live site.
[yaffs-website]
/
node_modules
/
gulp
/
lib
/
taskTree.js
1
'use strict';
2
3
module.exports = function(tasks) {
4
return Object.keys(tasks)
5
.reduce(function(prev, task) {
6
prev.nodes.push({
7
label: task,
8
nodes: tasks[task].dep,
9
});
10
return prev;
11
}, {
12
nodes: [],
13
});
14
};