Skip to content

Commit

Permalink
feat(asset-bundle): finish "generateAndDownloadSingleRAB" logic
Browse files Browse the repository at this point in the history
add main test cases;
  • Loading branch information
yyc-git committed May 5, 2019
1 parent 75c226b commit c973ebf
Show file tree
Hide file tree
Showing 23 changed files with 733 additions and 116 deletions.
Binary file removed public/img/mat.jpg
Binary file not shown.
10 changes: 3 additions & 7 deletions src/core/atom_component/selectTree/SelectTree.re
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ module Method = {
getValueNodeIconFunc(nodeData.type_, nodeData.value, editorState)
};

let _getNodeName = node =>
switch (node) {
| FolderNode(_, nodeData, _) => nodeData.name
| ValueNode(_, nodeData) => nodeData.name
};

let rec _build = (allNodes, (getValueNodeIconFunc, toggleSelectFunc)) =>
allNodes
/* |> _sortByName */
Expand Down Expand Up @@ -65,7 +59,9 @@ module Method = {
| Some(icon) => <img src=icon className="treeNode-icon" />
}
}
<span> {DomHelper.textEl(_getNodeName(node))} </span>
<span>
{DomHelper.textEl(NodeSelectTreeService.getNodeName(node))}
</span>
</li>
{
ReasonReact.array(
Expand Down
Loading

0 comments on commit c973ebf

Please sign in to comment.