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

Unified Diff: src/site/_includes/language-tour/3-built-in-types/strings.html

Issue 10700168: massive CL is massive (Closed) Base URL: https://code.google.com/p/dartlang-site/@master
Patch Set: Created 8 years, 5 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
Index: src/site/_includes/language-tour/3-built-in-types/strings.html
diff --git a/src/site/_includes/language-tour/3-built-in-types/strings.html b/src/site/_includes/language-tour/3-built-in-types/strings.html
index c5bae1be4ad469a058abf8d162e886ca581aba04..45203dc073f1f9a5bc1123f34e4179cadb021ae8 100644
--- a/src/site/_includes/language-tour/3-built-in-types/strings.html
+++ b/src/site/_includes/language-tour/3-built-in-types/strings.html
@@ -27,13 +27,15 @@ assert('That deserves all caps. ${s.toUpperCase()} is very handy!' ==
'That deserves all caps. STRING INTERPOLATION is very handy!');
{% endhighlight %}
-<aside class="note">
-<b>Note:</b>
-The <b>==</b> operator tests whether
-two objects are equivalent.
-In the case of strings,
-they're equivalent
-if they have the same characters.
+<aside>
+ <div class="alert alert-info">
+ <strong>Tip:</strong>
+ The <b>==</b> operator tests whether
+ two objects are equivalent.
+ In the case of strings,
+ they're equivalent
+ if they have the same characters.
+ </div>
</aside>
<p>
@@ -129,6 +131,8 @@ Learn more about
<a href="/docs/library-tour/#strings-and-regular-expressions">string methods</a>
in the library tour.
+</section>
+
<section id="strings-buffer">
<h4> StringBuffer methods </h4>
@@ -156,12 +160,13 @@ sb.clear(); // All gone!
assert(sb.toString() == '');
{% endhighlight %}
-<br>
-<aside class="note">
-<b>Note:</b>
-StringBuffers are currently slow when compiled to JavaScript.
-See bug #<a href="http://code.google.com/p/dart/issues/detail?id=1216">1216</a>
-for details.
+<aside>
+ <div class="alert alert-info">
+ <strong>Tip:</strong>
+ StringBuffers are currently slow when compiled to JavaScript.
+ See bug #<a href="http://code.google.com/p/dart/issues/detail?id=1216">1216</a>
+ for details.
+ </div>
</aside>
</section>

Powered by Google App Engine
This is Rietveld 408576698