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

Unified Diff: dart/site/try/src/decoration.dart

Issue 209233005: Simplify content rewriting. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Kasper's comments. Created 6 years, 9 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 | dart/site/try/src/html_to_text.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/decoration.dart
diff --git a/dart/site/try/src/decoration.dart b/dart/site/try/src/decoration.dart
index 20c05eae0bf07c2b69ec7e69d0a0099a18f5cc73..381057f13b6e521ba62715932256ad917905574a 100644
--- a/dart/site/try/src/decoration.dart
+++ b/dart/site/try/src/decoration.dart
@@ -122,8 +122,7 @@ class CodeCompletionDecoration extends Decoration {
Element applyTo(text) {
var codeCompletion = new DivElement()
..contentEditable = 'false'
- ..classes.add('dart-code-completion')
- ..appendText('Completion goes here');
+ ..classes.add('dart-code-completion');
return super.applyTo(text)
..classes.add('dart-code-completion-holder')
..nodes.add(codeCompletion);
« no previous file with comments | « no previous file | dart/site/try/src/html_to_text.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698