|
Update clock dart packaged app example for a modern dart.
This change allows the clock to run in Dartium m31, or in Chrome,
without changes.
Changes:
dart2js no longer accepts --disallow-unsafe-eval
window.requestLayoutFrame is now scheudleMicrotask from dart:async.
Date is now DateTime
List<E>.filter is now List<E>.removeWhere
String.charCodeAt is now String.codeUnitAt
js/interop stuff no longer required
Bugfix: Fix numbers not showing up at all when first opened, e.g., at
exactly 4pm and now.minute == 0.
Committed: https://github.com/tapted/chrome-app-samples/commit/7de7066
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+11637 lines, -8501 lines) |
Patch |
|
D |
dart/build/clock.dart.js
|
View
|
|
1 chunk |
+0 lines, -8146 lines |
0 comments
|
Download
|
|
D |
dart/build/clock.dart.js.deps
|
View
|
|
1 chunk |
+0 lines, -75 lines |
0 comments
|
Download
|
|
D |
dart/build/clock.dart.js.map
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
dart/clock.html
|
View
|
1
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
dart/compile.sh
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
dart/dart/balls.dart
|
View
|
1
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
dart/dart/clock.dart
|
View
|
1
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
A |
dart/dart/clock.dart.precompiled.js
|
View
|
1
2
|
1 chunk |
+11573 lines, -0 lines |
0 comments
|
Download
|
|
M |
dart/dart/numbers.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
dart/js/browser_dart_csp_safe.js
|
View
|
1
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
|
D |
dart/js/dart.js
|
View
|
|
1 chunk |
+0 lines, -257 lines |
0 comments
|
Download
|
|
A |
dart/pubspec.yaml
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 2
|