mirror of
https://github.com/dart-lang/sdk
synced 2024-09-04 16:03:44 +00:00
dart:js_util - fix spelling
BUG= R=jacobr@google.com Review URL: https://codereview.chromium.org/2311563002 .
This commit is contained in:
parent
fa32e57693
commit
ca2285be58
|
@ -12,7 +12,7 @@ library dart.js_util;
|
|||
import 'dart:_foreign_helper' show JS;
|
||||
import 'dart:collection' show HashMap;
|
||||
|
||||
/// WARNING: performance of this method is much worse than other uitil
|
||||
/// WARNING: performance of this method is much worse than other util
|
||||
/// methods in this library. Only use this method as a last resort.
|
||||
///
|
||||
/// Recursively converts a JSON-like collection of Dart objects to a
|
||||
|
@ -20,7 +20,7 @@ import 'dart:collection' show HashMap;
|
|||
///
|
||||
/// [object] must be a [Map] or [Iterable], the contents of which are also
|
||||
/// converted. Maps and Iterables are copied to a new JavaScript object.
|
||||
/// Primitives and other transferrable values are directly converted to their
|
||||
/// Primitives and other transferable values are directly converted to their
|
||||
/// JavaScript type, and all other objects are proxied.
|
||||
jsify(object) {
|
||||
if ((object is! Map) && (object is! Iterable)) {
|
||||
|
|
|
@ -11,7 +11,7 @@ library dart.js_util;
|
|||
|
||||
import 'dart:js';
|
||||
|
||||
/// WARNING: performance of this method is much worse than other uitil
|
||||
/// WARNING: performance of this method is much worse than other util
|
||||
/// methods in this library. Only use this method as a last resort.
|
||||
///
|
||||
/// Recursively converts a JSON-like collection of Dart objects to a
|
||||
|
@ -19,7 +19,7 @@ import 'dart:js';
|
|||
///
|
||||
/// [object] must be a [Map] or [Iterable], the contents of which are also
|
||||
/// converted. Maps and Iterables are copied to a new JavaScript object.
|
||||
/// Primitives and other transferrable values are directly converted to their
|
||||
/// Primitives and other transferable values are directly converted to their
|
||||
/// JavaScript type, and all other objects are proxied.
|
||||
jsify(object) {
|
||||
if ((object is! Map) && (object is! Iterable)) {
|
||||
|
|
Loading…
Reference in a new issue