-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate to Dart 2. * Use Pointer Events for Edge, Firefox, Chrome. * Use Mouse/Touch Events for Safari and other browsers not supporting Pointer Events.
- Loading branch information
1 parent
6282ee7
commit 3f24e70
Showing
81 changed files
with
573 additions
and
596 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
.buildlog | ||
.DS_Store | ||
.idea | ||
# Files and directories created by pub | ||
.packages | ||
.pub/ | ||
build/ | ||
packages | ||
# Remove the following pattern if you wish to check in your lock file | ||
pubspec.lock | ||
.packages | ||
|
||
# Files generated by dart tools | ||
.dart_tool | ||
|
||
# Directory created by dartdoc | ||
doc/api/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
analyzer: | ||
strong-mode: true | ||
errors: | ||
uri_has_not_been_generated: ignore | ||
|
||
# Lint rules and documentation, see http://dart-lang.github.io/linter/lints | ||
linter: | ||
rules: | ||
- cancel_subscriptions | ||
- hash_and_equals | ||
- iterable_contains_unrelated_type | ||
- list_remove_unrelated_type | ||
- test_types_in_equals | ||
- unrelated_type_equality_checks | ||
- valid_regexps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
targets: | ||
$default: | ||
builders: | ||
build_web_compilers|entrypoint: | ||
generate_for: | ||
- web/main.dart | ||
options: | ||
compiler: dartdevc | ||
dart2js_args: | ||
- --enable-asserts | ||
- --preview-dart-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
targets: | ||
$default: | ||
builders: | ||
build_web_compilers|entrypoint: | ||
generate_for: | ||
- web/main.dart | ||
options: | ||
compiler: dart2js | ||
dart2js_args: | ||
- --fast-startup | ||
- --minify | ||
- --trust-type-annotations | ||
# Consult https://webdev.dartlang.org/tools/dart2js#size-and-speed-options | ||
# before enabling the following option: | ||
# - --trust-primitives |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
|
||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" | ||
content="width=device-width, initial-scale=1"> | ||
|
||
<title>Dart Drag and Drop: Basic Example</title> | ||
|
||
<link rel="stylesheet" | ||
href="example.css"> | ||
<script defer | ||
src="example.dart.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<a href="https://github.com/marcojakob/dart-dnd/tree/master/example/basic" | ||
target="_parent">Example Source on GitHub</a> | ||
|
||
<div class="trash"></div> | ||
<img class="document" | ||
src="images/document.png"> | ||
<img class="document" | ||
src="images/document.png"> | ||
<img class="document" | ||
src="images/document.png"> | ||
<img class="document" | ||
src="images/document.png"> | ||
|
||
</div> | ||
</body> | ||
|
||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.