Skip to content

Commit 7c06a61

Browse files
committed
chore(README): Cleanup
1 parent ad1c51d commit 7c06a61

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

README.md

+17-12
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,24 @@
22

33
---
44

5-
###v1.0.5 - breaking change
6-
Do not pass evaluated expressions in callbacks. For example,
7-
####Before:
8-
```
9-
<div jqyoui-draggable="{onStart:'startCallback({{item}})'}">{{item.title}}</div>
10-
```
11-
####After:
12-
```
13-
<div jqyoui-draggable="{onStart:'startCallback(item)'}">{{item.title}}</div>
14-
```
5+
Implementing jQueryUI Drag and Drop functionality in AngularJS is easier than ever which is a wrapper for jQueryUI draggable/droppable components.
156

167
##How to Use
178

18-
* bower install angular-dragdrop (or sudo bower install angular-dragdop --allow-root)
19-
* Reference angular-dragdrop.min.js in your application as:
9+
* `bower install angular-dragdrop` (or `sudo bower install angular-dragdop --allow-root`)
10+
* Reference `angular-dragdrop.min.js` in your application as:
11+
2012
```
2113
<script src="components/angular-dragdrop/src/angular-dragdrop.min.js"></script>
2214
```
2315
* Resolve the dependency in the main module of your application as:
16+
2417
```
2518
angular.module('myApp', ['ngDragDrop'])
2619
```
2720

2821
* Drag anything as:
22+
2923
```
3024
<span data-drag="true" jqyoui-draggable>So you think you can drag</span>
3125
```
@@ -69,6 +63,17 @@ angular.module('myApp', ['ngDragDrop'])
6963
##Demo
7064
Demo is [here](http://codef0rmer.github.io/angular-dragdrop/#/)
7165

66+
###v1.0.5 - breaking change
67+
Do not pass evaluated expressions in callbacks. For example,
68+
####Before:
69+
```
70+
<div jqyoui-draggable="{onStart:'startCallback({{item}})'}">{{item.title}}</div>
71+
```
72+
####After:
73+
```
74+
<div jqyoui-draggable="{onStart:'startCallback(item)'}">{{item.title}}</div>
75+
```
76+
7277
## Support
7378
If you're having problems with using the project, use the support forum at CodersClan.
7479

0 commit comments

Comments
 (0)