1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 03:50:32 +02:00

[haxe/en] Adding colon after comments

...as per @vendethiel's advice
This commit is contained in:
Marko Stanković
2015-05-20 14:29:05 +02:00
parent 982b984684
commit 5816b59be6

View File

@@ -495,9 +495,9 @@ class LearnHaxe3{
// foo_instance.public_read = 4; // this will throw an error if uncommented:
// trace(foo_instance.public_write); // as will this.
// calls the toString method
// calls the toString method:
trace(foo_instance + " is the value for foo_instance");
// same thing
// same thing:
trace(foo_instance.toString() + " is the value for foo_instance.toString()");
@@ -536,7 +536,7 @@ class FooClass extends BarClass implements BarInterface{
// a public constructor
public function new(arg:Int){
// call the constructor of the parent object, since we extended BarClass
// call the constructor of the parent object, since we extended BarClass:
super();
this.public_any = 0;