Skip to content

Commit 87fffa1

Browse files
committed
chore(*): version bump 1.0.9
- fix(README): Closes #108 and [cleanup](7c06a61) - fix(*): Closes #102 - use $.map over native .map method for IE8 - fix(*): Closes #137 - drag/drop should work even when compile-time debugging is disabled - fix(*): Closes #130 - avoid setting display: block on dropped cell - fix(*): Closes #102 - passing global jQuery reference in case it is renamed with jQuery.noConflict() - fix(*): Closes #143 - introduce deepCopy option to support deep copy on draggable/droppable - perf(*): Undo #55 because some callbacks are performance intensive, especially, onDrag, to run a digest loop for. Call $scope.$apply() within the callback if needed - fix(*): Closes #144 - default or custom confirmation before drop
1 parent 4b1cfb6 commit 87fffa1

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
Implementing jQueryUI Drag and Drop functionality in AngularJS is easier than ever which is a wrapper for jQueryUI draggable/droppable components.
66

7+
8+
###v1.0.9 - breaking change
9+
1. Draggable and Droppable will not be [deep copied](https://egghead.io/lessons/angularjs-angular-copy-for-deep-copy) by default unlike previous versions. Use `deepCopy` option if prototypical inheritance is not required.
10+
2. Callbacks will not be executed forcefully within the context of scope which requires an extra digest loop for each event (start, stop, over, out, etc), especially drag that fires many times and running a digest loop is performance intensive in such scenario. Call `scope.$apply()` within callback, if needed.
11+
12+
713
##How to Use
814

915
* `bower install angular-dragdrop` (or `sudo bower install angular-dragdrop --allow-root`)
@@ -67,10 +73,6 @@ angular.module('myApp', ['ngDragDrop'])
6773
Demo is [here](http://codef0rmer.github.io/angular-dragdrop/#/)
6874

6975

70-
###v1.0.9 - breaking change
71-
Draggable and Droppable will not be deep copied by default unlike previous versions. Use deepCopy option, if needed.
72-
73-
7476
###v1.0.5 - breaking change
7577
Do not pass evaluated expressions in callbacks. For example,
7678
####Before:

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-dragdrop",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "This directive allows you to use jQuery UI's draggable and droppable plugins with AngularJS.",
55
"author": "https://github.com/codef0rmer/angular-dragdrop/contributors",
66
"license": "MIT",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-dragdrop",
3-
"version": "1.0.5",
3+
"version": "1.0.9",
44
"description": "This directive allows you to use jQuery UI's draggable and droppable plugins with AngularJS.",
55
"author": "https://github.com/codef0rmer/angular-dragdrop/contributors",
66
"license": "MIT",

src/angular-dragdrop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* Implementing Drag and Drop functionality in AngularJS is easier than ever.
2323
* Demo: http://codef0rmer.github.com/angular-dragdrop/
2424
*
25-
* @version 1.0.8
25+
* @version 1.0.9
2626
*
2727
* (c) 2013 Amit Gharat a.k.a codef0rmer <[email protected]> - amitgharat.wordpress.com
2828
*/

src/angular-dragdrop.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)