dart:js_util - fix spelling

BUG=
R=jacobr@google.com

Review URL: https://codereview.chromium.org/2311563002 .
This commit is contained in:
Kevin Moore 2016-09-06 09:23:59 -07:00
parent fa32e57693
commit ca2285be58
2 changed files with 4 additions and 4 deletions

View file

@ -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)) {

View file

@ -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)) {