From aa95ef598cb2b58d82f5d77599924808dbe9cfe1 Mon Sep 17 00:00:00 2001 From: Brian Liu Date: Sat, 18 Nov 2017 10:09:07 +0800 Subject: [PATCH 1/2] Fixed tutorial typo --- doc/src/doc/tutorial.mt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/doc/tutorial.mt b/doc/src/doc/tutorial.mt index 088808ef..e3c99154 100644 --- a/doc/src/doc/tutorial.mt +++ b/doc/src/doc/tutorial.mt @@ -114,9 +114,9 @@ Other forms of construction, e.g. new Point(42) or new Point(

Basic type concept will be described in this section. Primitive types, object types, variant type, and Nullable types exist in JSX.

-

Pritimive Types

+

Primitive Types

-There are three pritimive types in JSX: string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark. +There are three Primitive types in JSX: string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark.

{prettify}->('jsx', <<'EOT') var s : string; From 6fa7e949402787d5682a7b0497fe67743d021f0c Mon Sep 17 00:00:00 2001 From: Brian Liu Date: Sat, 18 Nov 2017 10:10:56 +0800 Subject: [PATCH 2/2] Removed capitalised --- doc/src/doc/tutorial.mt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/doc/tutorial.mt b/doc/src/doc/tutorial.mt index e3c99154..94a45389 100644 --- a/doc/src/doc/tutorial.mt +++ b/doc/src/doc/tutorial.mt @@ -116,7 +116,7 @@ Basic type concept will be described in this section. Primitive types, object t

Primitive Types

-There are three Primitive types in JSX: string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark. +There are three primitive types in JSX: string, number, and boolean. The three are non-nullable, immutable types. The code snippet below declares three variables s, n, b with their repective types, annocated to the right of the name of the variables using the : mark.

{prettify}->('jsx', <<'EOT') var s : string;