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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 16743004: Updating docs for appendText and insertingAdjacentText to reflect implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 86e56ece6f7b6157d29295a731106f9f19a8cb59..9c9645af31d2d4642b031e922f513f4322cd52c4 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -8076,8 +8076,7 @@ abstract class Element extends Node implements ElementTraversal native "Element"
Rect get offset => new Rect(offsetLeft, offsetTop, offsetWidth, offsetHeight);
/**
- * Adds the specified text as a text node after the last child of this
- * element.
+ * Adds the specified text after the last child of this element.
*/
void appendText(String text) {
this.insertAdjacentText('beforeend', text);
@@ -8211,7 +8210,7 @@ abstract class Element extends Node implements ElementTraversal native "Element"
return 'transitionend';
}
/**
- * Creates a text node and inserts it into the DOM at the specified location.
+ * Inserts text into the DOM at the specified location.
*
* To see the possible values for [where], read the doc for
* [insertAdjacentHtml].
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698