Skip to content

Commit

Permalink
Merge pull request #7 from hyj1991/tree_drap
Browse files Browse the repository at this point in the history
support: drag tree colum
  • Loading branch information
hyj1991 authored Apr 18, 2018
2 parents 6afa6cf + 127e0a4 commit b3544de
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ JavaScript Developer Toolbox
npm install devtoolx -g
```

## Compatibility

* Node.js v4.x
* Node.js v6.x
* Node.js v8.x

Attention: local compilation needs gcc version >= v4.9.2

## Usage

### Search node by address
Expand Down
13 changes: 13 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@
],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"conditions": [
[
"OS=='mac'",
{
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"GCC_ENABLE_CPP_RTTI": "YES",
"MACOSX_DEPLOYMENT_TARGET": "10.9",
"CLANG_CXX_LANGUAGE_STANDARD": "c++11"
}
}
]
]
}
]
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtoolx",
"version": "0.1.2",
"version": "0.1.4",
"description": "dev tools box",
"main": "devtoolx.js",
"bin": {
Expand Down Expand Up @@ -39,4 +39,4 @@
"nan": "^2.10.0",
"serve-favicon": "^2.5.0"
}
}
}
2 changes: 1 addition & 1 deletion worker/view/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<script type="text/template" id="tree-template">
<div>
<el-tree style="margin-top:20px" :load="loadNode" :props="props" node-key="key" lazy>
<el-tree style="margin-top:20px" :load="loadNode" :props="props" node-key="key" draggable lazy>
<span class="custom-tree-node content" slot-scope="{ node, data }" disabled>
<span v-if="!node.data.loadMore">
<span v-if="node.data.fromEdge" :class="node.data.class">
Expand Down

0 comments on commit b3544de

Please sign in to comment.