Skip to content

Commit 73619e0

Browse files
Merge pull request #70 from thienhung1989/develop
Upgrade version: v3.0.10.
2 parents ac1a5cf + e18a364 commit 73619e0

File tree

83 files changed

+172175
-1089
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+172175
-1089
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ demo/source
2121

2222
bower_components
2323

24-
yarn.lock
24+
!yarn.lock
25+
!package-lock.json

.jshintrc

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,38 @@
11
{
2-
"camelcase": false,
3-
"mocha": true,
4-
"jasmine": true,
5-
"freeze": true,
6-
"trailing": true,
7-
"white": true,
8-
"browserify": true,
9-
"qunit": true,
10-
"funcscope": true,
11-
"laxbreak": true,
12-
"phantom": true,
13-
"node": true,
14-
"noempty": true,
15-
"evil": true,
16-
"eqeqeq": true,
17-
"nocomma": false,
18-
"nonstandard": true,
19-
"quotmark": "single",
20-
"lastsemic": true,
21-
"devel": true,
22-
"jquery": true,
23-
"nonbsp": true,
24-
"browser": true,
25-
"bitwise": true,
26-
"debug": true,
27-
"curly": true,
28-
"undef": true,
29-
"enforceall": true,
30-
"eqnull": true,
31-
"asi": true,
32-
"validthis": true,
33-
"nonew": true,
34-
"forin": true,
35-
"predef": ["angular"]
2+
"camelcase": false,
3+
"mocha": true,
4+
"jasmine": true,
5+
"freeze": true,
6+
"trailing": true,
7+
"white": true,
8+
"browserify": true,
9+
"qunit": true,
10+
"funcscope": true,
11+
"laxbreak": true,
12+
"phantom": true,
13+
"node": true,
14+
"noempty": true,
15+
"evil": true,
16+
"eqeqeq": true,
17+
"nocomma": false,
18+
"nonstandard": true,
19+
"quotmark": "single",
20+
"lastsemic": true,
21+
"devel": true,
22+
"jquery": true,
23+
"nonbsp": true,
24+
"browser": true,
25+
"bitwise": true,
26+
"debug": true,
27+
"curly": true,
28+
"undef": true,
29+
"enforceall": true,
30+
"eqnull": true,
31+
"asi": true,
32+
"validthis": true,
33+
"nonew": true,
34+
"forin": true,
35+
"predef": [
36+
"angular"
37+
]
3638
}

CHANGELOG.md

Lines changed: 54 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,45 @@
1+
## v3.0.10
2+
* Fixed:
3+
* Missing attributes: indent & indent_plus.
4+
* Upgrade gulp4.
5+
* Add package-lock.json & yarn.lock.
6+
* Add jsdoc3.
7+
8+
## v3.0.9
9+
* Fixed:
10+
* The tree control isn't working.
11+
* Reconstruct demo.
12+
* Optimal code.
13+
14+
## v3.0.8
15+
* Fixed:
16+
* Expand & collection node.
17+
* Added:
18+
* Allow drag & drop when $compileProvider.debugInfoEnabled(false);.
19+
* Removed:
20+
* kama.
21+
* Optimal code.
22+
* Reformat code.
23+
24+
## v3.0.7
25+
* Fixed:
26+
* Node when call function `expand_node`.
27+
28+
## v3.0.6
29+
* Fixed:
30+
* Any errors & testing with angular 1.6.
31+
132
## v3.0.4
2-
* Removed:
33+
* Removed:
334
* `$watch` in node, nodes
435
* $icon_class -> node.__icon_class__
536

6-
* Fixed:
37+
* Fixed:
738
* Indent when error dragging in list.
839
* Optimal `$watch` of tree-dnd (faster, stabler).
940

1041

11-
* Added:
42+
* Added:
1243
* Just only `plugin` when need *(increment speed init tree)*:
1344
* Filter.
1445
* Order By.
@@ -19,12 +50,12 @@
1950
* Order By.
2051

2152
## v3.0.3
22-
* Fix error dragDrop for Tree
23-
* Optimal getElementChilds
24-
* Add new Demo *(filter, multi tree)*
25-
* Problems:
53+
* Fix error dragDrop for Tree
54+
* Optimal getElementChilds
55+
* Add new Demo *(filter, multi tree)*
56+
* Problems:
2657
* Error when drag node to thead *(table)*
27-
* Next feature:
58+
* Next feature:
2859
* Split angular-tree-dnd:
2960
* Only Directive control: next, prev,...
3061
* Only DragNDrop
@@ -34,29 +65,29 @@
3465

3566

3667
## v3.0.2
37-
* Add function `Scope.$safeApply()`.
38-
* Fix Watch
39-
* Fix Bower.json
40-
* Fix any error angular 1.2.1.
41-
* New feature:
42-
* Filter.
43-
* Add `scope.targeting` *(boolean)*: `true` - when `dragMove` targeting *(tree-dnd over)*.
44-
* Add attribute `enableCollapse` to enable Mode `collapse node` when `dragStart`.
45-
* Next feature:
68+
* Add function `Scope.$safeApply()`.
69+
* Fix Watch
70+
* Fix Bower.json
71+
* Fix any error angular 1.2.1.
72+
* New feature:
73+
* Filter.
74+
* Add `scope.targeting` *(boolean)*: `true` - when `dragMove` targeting *(tree-dnd over)*.
75+
* Add attribute `enableCollapse` to enable Mode `collapse node` when `dragStart`.
76+
* Next feature:
4677
* Multi select.
4778
* OrderBy data.
4879

4980
## v3.0.1
50-
* Add `gulp`, `travis`,...
51-
* `dragBorder`: allow `drag` indent if `position` of `drag` >= `border` drag.
52-
* `for_all_descendants`: To access all descendant of node.
81+
* Add `gulp`, `travis`,...
82+
* `dragBorder`: allow `drag` indent if `position` of `drag` >= `border` drag.
83+
* `for_all_descendants`: To access all descendant of node.
5384
* param: for_all_descendants(node, fnCallback);
5485
* return: false *(when `fnCallback` return `false` or `null`)*, true *(if accessed all descendant)*
5586
* fnCallback: to proccess when dir to node.
5687
* result: if return true or Object then `break` function `for_all_descendants` *(when function `for_all_descendants` return `false`)*
57-
* `for_all_ancestors`: sample like `for_all_descendants` *(but use to `ancestors`)*;
88+
* `for_all_ancestors`: sample like `for_all_descendants` *(but use to `ancestors`)*;
5889

59-
* Attribute `tree-class` if `type`:
90+
* Attribute `tree-class` if `type`:
6091
* `string`: will cast value to `scope.tree_class`
6192
* `object`: will cast vaule to `$TreeDnDClass`
6293
* '$TreeDnDClass': constant of `class` in Tree, able `extend` by attribute `tree-class`
@@ -73,7 +104,7 @@
73104
* '1': 'glyphicon glyphicon-minus', *(able cast by attribute `icon-leaf`)*
74105
* '0': 'glyphicon glyphicon-plus', *(able cast by attribute `icon-leaf`)*
75106
* '-1': 'glyphicon glyphicon-file', *(able cast by attribute `icon-leaf`)*
76-
* Attribute `tree-control` - Allow `developer` create new or overdrive all function exist below :
107+
* Attribute `tree-control` - Allow `developer` create new or overdrive all function exist below :
77108
* Directive:
78109
* collapse_all: ()
79110
* collapse_node: (node)

LICENSE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22-

bower.json

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
{
2-
"name": "angular-tree-dnd",
3-
"version": "3.0.6",
4-
"authors": [
5-
"Nguyễn Thiện Hùng"
6-
],
7-
"homepage": "https://github.com/thienhung1989/angular-tree-dnd",
8-
"description": "Display tree table (or list) & event DrapnDrop (allow drag multi tree-dnd include all type: table, ol, ul) by AngularJS",
9-
"main": [
10-
"dist/ng-tree-dnd.css",
11-
"dist/ng-tree-dnd.js"
12-
],
13-
"licence": "MIT",
14-
"keywords": [
15-
"angularjs",
16-
"bootstrap",
17-
"tree",
18-
"grid",
19-
"widget",
20-
"table",
21-
"dnd"
22-
],
23-
"repository": {
24-
"type": "git",
25-
"url": "git://github.com/thienhung1989/angular-tree-dnd"
26-
},
27-
"ignore": [
28-
"temp",
29-
"test",
30-
".jshintrc",
31-
".travis.yml",
32-
".bowerrc",
33-
".gitignore",
34-
"bower_components",
35-
"examples",
36-
"demo",
37-
"build",
38-
"guide",
39-
"node_modules",
40-
"source",
41-
"tasks",
42-
"tests",
43-
"gulpfile.js",
44-
"karma.conf.js",
45-
"src"
46-
],
47-
"dependencies": {
48-
"angular": ">=1.2.1"
49-
},
50-
"devDependencies": {
51-
"angular-mocks": ">=1.2.1",
52-
"angular-route": ">=1.2.1",
53-
"angular-animate": ">=1.2.1",
54-
"angular-bootstrap": "*",
55-
"bootstrap-css": "^3.3",
56-
"angularjs-toaster": "*"
57-
}
2+
"name": "angular-tree-dnd",
3+
"version": "3.0.7",
4+
"authors": [
5+
"Nguyễn Thiện Hùng"
6+
],
7+
"homepage": "https://github.com/thienhung1989/angular-tree-dnd",
8+
"description": "Display tree table (or list) & event DrapnDrop (allow drag multi tree-dnd include all type: table, ol, ul) by AngularJS",
9+
"main": [
10+
"dist/ng-tree-dnd.css",
11+
"dist/ng-tree-dnd.js"
12+
],
13+
"licence": "MIT",
14+
"keywords": [
15+
"angularjs",
16+
"bootstrap",
17+
"tree",
18+
"grid",
19+
"widget",
20+
"table",
21+
"dnd"
22+
],
23+
"repository": {
24+
"type": "git",
25+
"url": "git://github.com/thienhung1989/angular-tree-dnd"
26+
},
27+
"ignore": [
28+
"temp",
29+
"test",
30+
".jshintrc",
31+
".travis.yml",
32+
".bowerrc",
33+
".gitignore",
34+
"bower_components",
35+
"examples",
36+
"demo",
37+
"build",
38+
"guide",
39+
"node_modules",
40+
"source",
41+
"tasks",
42+
"tests",
43+
"gulpfile.js",
44+
"karma.conf.js",
45+
"src"
46+
],
47+
"dependencies": {
48+
"angular": ">=1.2.1"
49+
},
50+
"devDependencies": {
51+
"angular-mocks": ">=1.2.1",
52+
"angular-route": ">=1.2.1",
53+
"angular-animate": ">=1.2.1",
54+
"angular-bootstrap": "*",
55+
"bootstrap-css": "^3.3",
56+
"angularjs-toaster": "*"
57+
}
5858
}

0 commit comments

Comments
 (0)