| 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..22629dbfb44b082c213f5d48cac652afb3d1806a 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>
|
| @@ -74,7 +76,7 @@ by prefixing it with @.
|
| </p>
|
|
|
| {% highlight dart %}
|
| -var s = @'In a raw string, even \n isn't special.';
|
| +var s = @"In a raw string, even \n isn't special.";
|
| {% endhighlight %}
|
|
|
| <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>
|
|
|