diff options
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/docs/doc/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 5c43917..adff569 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md | |||
@@ -657,7 +657,7 @@ do | |||
657 | 657 | ||
658 | The export statement offers a concise way to define modules. | 658 | The export statement offers a concise way to define modules. |
659 | 659 | ||
660 | * **Named Export** | 660 | * **Named Export** |
661 | Named export will define a local variable as well as adding a field in the exported table. | 661 | Named export will define a local variable as well as adding a field in the exported table. |
662 | 662 | ||
663 | ```moonscript | 663 | ```moonscript |
@@ -693,7 +693,7 @@ export class Something | |||
693 | </pre> | 693 | </pre> |
694 | </YueDisplay> | 694 | </YueDisplay> |
695 | 695 | ||
696 | * **Unnamed Export** | 696 | * **Unnamed Export** |
697 | Unnamed export will add the target item into the array part of the exported table. | 697 | Unnamed export will add the target item into the array part of the exported table. |
698 | 698 | ||
699 | ```moonscript | 699 | ```moonscript |
@@ -723,7 +723,7 @@ export with tmp | |||
723 | </pre> | 723 | </pre> |
724 | </YueDisplay> | 724 | </YueDisplay> |
725 | 725 | ||
726 | * **Default Export** | 726 | * **Default Export** |
727 | Using the **default** keyword in export statement to replace the exported table with any thing. | 727 | Using the **default** keyword in export statement to replace the exported table with any thing. |
728 | 728 | ||
729 | ```moonscript | 729 | ```moonscript |