summaryrefslogtreecommitdiffhomepage
path: root/dart.html.markdown
diff options
context:
space:
mode:
authorZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-07 23:46:13 -0400
committerZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-07 23:46:13 -0400
commitbc212592497b8e6277ba27a1c81a55eee3ad4c23 (patch)
tree54b9600f90ab7643cf67cc839ee1fb253788d695 /dart.html.markdown
parente1ac6209a8d3f43e7a018d79454fb1095b3314c0 (diff)
parentabd7444f9e5343f597b561a69297122142881fc8 (diff)
Merge remote-tracking branch 'adambard/master'
Conflicts: java.html.markdown
Diffstat (limited to 'dart.html.markdown')
-rw-r--r--dart.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/dart.html.markdown b/dart.html.markdown
index 34d1c6a8..f7601271 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) {