Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: sdk/lib/js_util/dart2js/js_util_dart2js.dart

Issue 2311563002: dart:js_util - fix spelling (Closed)
Patch Set: dart:js_util - fix spelling Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/js_util/dartium/js_util_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/js_util/dart2js/js_util_dart2js.dart
diff --git a/sdk/lib/js_util/dart2js/js_util_dart2js.dart b/sdk/lib/js_util/dart2js/js_util_dart2js.dart
index a58745977906f0b2d83d7d7ccfae453f7860f0fd..23a46e0a16a0a5e3bfb62ece529f5687be244ec8 100644
--- a/sdk/lib/js_util/dart2js/js_util_dart2js.dart
+++ b/sdk/lib/js_util/dart2js/js_util_dart2js.dart
@@ -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)) {
« no previous file with comments | « no previous file | sdk/lib/js_util/dartium/js_util_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698