mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 04:31:31 +00:00
26fab5183a
Remove math dependency from core/coreimpl in dart2js. The existing Math.parseInt and Math.parseDouble are kept *for now*, but simply redirect to the static methods. They will be removed in time (when library code is ready for it). Review URL: https://codereview.chromium.org//10913271 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12417 260f80e4-7a28-3924-810f-c04153c831b5
12 lines
380 B
Dart
12 lines
380 B
Dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
// Dart core library.
|
|
|
|
// VM implementation of double.
|
|
|
|
patch class double {
|
|
/* patch */
|
|
static double parse(String string) native "MathNatives_parseDouble";
|
|
}
|