Skip to content

Commit

Permalink
Add version numbers for dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojakob committed Jun 5, 2013
1 parent e1a44b7 commit 429cd81
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 29 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Changelog
================

## Version 0.0.1 (2013-06-05) ##
* Initial Version.
## Version 0.1.0 (2013-06-05) ##
* First Version.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ I'd like to thank the people who kindly helped me with their answers or put
some tutorial or code examples online. They've already contributed to this
project.

If you'd like to contribute too, you're welcome to file issues or
[fork](https://help.github.com/articles/fork-a-repo) my repository on GitHub.
If you'd like to contribute, you're welcome to file issues or
[fork](https://help.github.com/articles/fork-a-repo) my
[repository on GitHub](https://github.com/marcojakob/dart-html5-dnd).


## License ##
Expand Down
35 changes: 13 additions & 22 deletions example/html5_dnd_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,21 @@ main() {
sectionSortableListHandles();
sectionSortableListConnected();

installCodeTabs();
installCodeblockTabs();
}

installCodeTabs() {
installCodeblockTabs() {
codeblockDraggableAndDropzone(query('#draggable-dropzone'));
codeblockDraggingDivs(query('#dragging-divs'));
codeblockDropEffects(query('#drop-effects'));
codeblockDragImages(query('#drag-images'));
codeblockNestedElements(query('#nested-elements'));
codeblockSortableList(query('#sortable-list'));
codeblockSortableGrid(query('#sortable-grid'));
codeblockSortableListExclude(query('#sortable-list-exclude'));
codeblockSortableListHandles(query('#sortable-list-handles'));
codeblockSortableListConnected(query('#sortable-list-connected'));

List<AnchorElement> tabLinks = queryAll('.example-code .menu li a');
for (AnchorElement link in tabLinks) {
link.onClick.listen((MouseEvent event) {
Expand Down Expand Up @@ -66,8 +77,6 @@ sectionDraggableAndDropzone() {
event.draggable.element.remove();
event.dropzone.element.classes.add('full');
});

codeblockDraggableAndDropzone(query('#draggable-dropzone'));
}

sectionDraggingDivs() {
Expand All @@ -77,8 +86,6 @@ sectionDraggingDivs() {
var dropElement = query('#dragging-divs .dropzone');
new Dropzone(dropElement)
..acceptDraggables.add(dragElement);

codeblockDraggingDivs(query('#dragging-divs'));
}

sectionDropEffects() {
Expand All @@ -100,8 +107,6 @@ sectionDropEffects() {
event.draggable.element.remove();
event.dropzone.element.classes.add('full');
});

codeblockDropEffects(query('#drop-effects'));
}

sectionDragImages() {
Expand Down Expand Up @@ -141,8 +146,6 @@ sectionDragImages() {
Element dropzone = query('#drag-images .dropzone');
new Dropzone(dropzone)
..acceptDraggables.addAll([dragmeOne, dragmeTwo, dragmeThree, dragmeFour]);

codeblockDragImages(query('#drag-images'));
}

sectionNestedElements() {
Expand Down Expand Up @@ -174,8 +177,6 @@ sectionNestedElements() {
textarea.appendText('${enterLeaveCounter++} drop fired\n');
textarea.scrollTop = textarea.scrollHeight;
});

codeblockNestedElements(query('#nested-elements'));
}

sectionSortableList() {
Expand All @@ -185,38 +186,28 @@ sectionSortableList() {
..onSortableComplete.listen((SortableResult result) {
// do something when user sorted the elements...
});

codeblockSortableList(query('#sortable-list'));
}

sectionSortableGrid() {
var items = queryAll('#sortable-grid li');

new Sortable(items);

codeblockSortableGrid(query('#sortable-grid'));
}

sectionSortableListExclude() {
var items = queryAll('#sortable-list-exclude li:not(.disabled)');

new Sortable(items);

codeblockSortableListExclude(query('#sortable-list-exclude'));
}

sectionSortableListHandles() {
var items = queryAll('#sortable-list-handles li');

new Sortable(items, handle: 'span');

codeblockSortableListHandles(query('#sortable-list-handles'));
}

sectionSortableListConnected() {
var items = queryAll('#sortable-list-connected li');

new Sortable(items);

codeblockSortableListConnected(query('#sortable-list-connected'));
}
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ description: HTML5 Drag and Drop
homepage: https://github.com/marcojakob/dart-html5-dnd
documentation: http://edu.makery.ch/projects/dart-html5-drag-and-drop/
dependencies:
js: any
logging: any
meta: any
js: '>=0.0.22 <0.0.23'
logging: '>=0.5.13 <0.5.14'
meta: '>=0.5.13 <0.5.14'
dev_dependencies:
browser: any
logging_handlers: any

0 comments on commit 429cd81

Please sign in to comment.