| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 74a14e57e8eab8c028eed545cdc5ef2cf70c5e11..76a98309747aab37a866c49e3220584480db64da 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -28982,6 +28982,12 @@ class Point {
|
| }
|
|
|
| /**
|
| + * Get the straight line (Euclidean) distance between the origin (0, 0) and
|
| + * this point.
|
| + */
|
| + num get magnitude => sqrt(x * x + y * y);
|
| +
|
| + /**
|
| * Returns the distance between two points.
|
| */
|
| double distanceTo(Point other) {
|
|
|