| Index: samples/ui_lib/touch/Momentum.dart
|
| diff --git a/samples/ui_lib/touch/Momentum.dart b/samples/ui_lib/touch/Momentum.dart
|
| index 269b722e5b4f4a34eea6a36cc04aa2a3f8b9131f..a9f5ae6db4a681fe6c78149f5c6590a18e7d7c7d 100644
|
| --- a/samples/ui_lib/touch/Momentum.dart
|
| +++ b/samples/ui_lib/touch/Momentum.dart
|
| @@ -23,9 +23,9 @@
|
| * accelerated method such as using 'translate3d' on the element's
|
| * -webkit-transform style property.
|
| */
|
| -interface Momentum default TimeoutMomentum {
|
| +abstract class Momentum {
|
|
|
| - Momentum(MomentumDelegate delegate, [num defaultDecelerationFactor]);
|
| + factory Momentum(MomentumDelegate delegate, [num defaultDecelerationFactor]) = TimeoutMomentum;
|
|
|
| bool get decelerating;
|
|
|
|
|