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:
@@ -13,7 +13,7 @@ import switchModule = require("ui/switch");
|
||||
// ```
|
||||
|
||||
// ### Binding the Switch checked property and Button isEanbled property to a observable view-model property.
|
||||
//```XML
|
||||
//``` XML
|
||||
// <Page loaded="pageLoaded">
|
||||
// <StackLayout orientation="vertical">
|
||||
// {%raw%}<Switch checked="{{ someProperty }}" />
|
||||
@@ -21,7 +21,7 @@ import switchModule = require("ui/switch");
|
||||
// </StackLayout>
|
||||
// </Page>
|
||||
//```
|
||||
//```JS
|
||||
//``` JavaScript
|
||||
// function pageLoaded(args) {
|
||||
// var page = args.object;
|
||||
// var obj = new observable.Observable();
|
||||
|
||||
Reference in New Issue
Block a user