summaryrefslogtreecommitdiffhomepage
path: root/dart.html.markdown
diff options
context:
space:
mode:
authorLari Kovanen <lari@kovanen.se>2015-12-09 13:25:01 +0100
committerLari Kovanen <lari@kovanen.se>2015-12-09 13:25:01 +0100
commit46d3c28a5fc341f3b8ef061e963adfc7c610263e (patch)
tree794df6f192a3875dc09d2710395048c5f405a806 /dart.html.markdown
parentdbfb19bb5779e84add18a19ebc36833e748e69d9 (diff)
parent1f76b2ad8c35b6c7e8ac2cc5dac8f20bc74f09ef (diff)
Merge remote-tracking branch 'adambard/master'
Diffstat (limited to 'dart.html.markdown')
-rw-r--r--dart.html.markdown12
1 files changed, 6 insertions, 6 deletions
diff --git a/dart.html.markdown b/dart.html.markdown
index 34d1c6a8..fc7b220e 100644
--- a/dart.html.markdown
+++ b/dart.html.markdown
@@ -81,7 +81,7 @@ example5() {
// Where classBody can include instance methods and variables, but also
// class methods and variables.
class Example6Class {
- var example6InstanceVariable = "Example6 instance variable";
+ var example6InstanceVariable = "Example6 instance variable";
sayIt() {
print(example6InstanceVariable);
}
@@ -92,7 +92,7 @@ example6() {
// Class methods and variables are declared with "static" terms.
class Example7Class {
- static var example7ClassVariable = "Example7 class variable";
+ static var example7ClassVariable = "Example7 class variable";
static sayItFromClass() {
print(example7ClassVariable);
}
@@ -111,7 +111,7 @@ example7() {
// by default. But arrays and maps are not. They can be made constant by
// declaring them "const".
var example8A = const ["Example8 const array"],
- example8M = const {"someKey": "Example8 const map"};
+ example8M = const {"someKey": "Example8 const map"};
example8() {
print(example8A[0]);
print(example8M["someKey"]);
@@ -245,7 +245,7 @@ example18() {
// Strings with triple single-quotes or triple double-quotes span
// multiple lines and include line delimiters.
example19() {
- print('''Example19 <a href="etc">
+ print('''Example19 <a href="etc">
Example19 Don't can't I'm Etc
Example19 </a>''');
}
@@ -272,7 +272,7 @@ example20() {
class Example21 {
List<String> _names;
Example21() {
- _names = ["a", "b"];
+ _names = ["a", "b"];
}
List<String> get names => _names;
set names(List<String> list) {
@@ -498,7 +498,7 @@ main() {
## Further Reading
-Dart has a comprehenshive web-site. It covers API reference, tutorials, articles and more, including a
+Dart has a comprehensive web-site. It covers API reference, tutorials, articles and more, including a
useful Try Dart online.
http://www.dartlang.org/
http://try.dartlang.org/