Index: pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart b/pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart |
index 79ed9400685518878c9066d9c83fc99eb84f109c..9e4133148615846b282ece787f044e4658443e8f 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart |
@@ -76,7 +76,7 @@ |
* [JsObject.jsify] constructor, which converts Dart [Map]s and [Iterable]s |
* into JavaScript Objects and Arrays. |
* |
- * The following expression creats a new JavaScript object with the properties |
+ * The following expression creates a new JavaScript object with the properties |
* `a` and `b` defined: |
* |
* var jsMap = new JsObject.jsify({'a': 1, 'b': 2}); |
@@ -568,8 +568,8 @@ Expando<Function> _interopCaptureThisExpando = new Expando<Function>(); |
/// binding and calls [f] with the value of this passed as the first argument. |
/// When called from Dart, [null] will be passed as the first argument. |
/// |
-/// See the documention for [allowInterop]. This method should only be used with |
-/// package:js Dart-JavaScript interop. |
+/// See the documentation for [allowInterop]. This method should only be used |
+/// with package:js Dart-JavaScript interop. |
Function allowInteropCaptureThis(Function f) { |
var ret = _interopCaptureThisExpando[f]; |
if (ret == null) { |