mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix language tags in doc-snippets
The doc-snippets were inconsistent (no spaces before title, small-caps, JS instead of JavaScript, etc.)
This commit is contained in:
@@ -14,7 +14,7 @@ import absoluteLayoutModule = require("ui/layouts/absolute-layout");
|
||||
// </snippet>
|
||||
|
||||
// ### Declaring a AbsoluteLayout.
|
||||
//```XML
|
||||
//``` XML
|
||||
// <Page>
|
||||
// <AbsoluteLayout>
|
||||
// <Label text="This is Label 1" left="30" top="70" />
|
||||
|
||||
@@ -14,7 +14,7 @@ import dockModule = require("ui/layouts/dock-layout");
|
||||
// ```
|
||||
|
||||
// ### Declaring a DockLayout.
|
||||
//```XML
|
||||
//``` XML
|
||||
//<Page>
|
||||
// <DockLayout stretchLastChild="true" >
|
||||
// <Button dock="left" text="left" style="background-color: red; margin: 5;"/ >/ >
|
||||
|
||||
@@ -171,7 +171,7 @@ export class StackLayoutTest extends testModule.UITest<StackLayout> {
|
||||
// ```
|
||||
|
||||
// ### Declaring a StackLayout.
|
||||
//```XML
|
||||
//``` XML
|
||||
// <Page>
|
||||
// <StackLayout orientation="horizontal">
|
||||
// <Label text="This is Label 1" />
|
||||
|
||||
@@ -28,7 +28,7 @@ export class WrapLayoutTest extends testModule.UITest<wrapLayoutModule.WrapLayou
|
||||
// </snippet>
|
||||
|
||||
// ### Declaring a WrapLayout.
|
||||
//```XML
|
||||
//``` XML
|
||||
// <Page>
|
||||
// <WrapLayout>
|
||||
// <Label text="This is Label 1" />
|
||||
|
||||
Reference in New Issue
Block a user