From 2d2fdfe4b06a23bed26b7913ba38c5ab31d9c4da Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Thu, 25 Feb 2016 20:39:08 +0200 Subject: [PATCH] Fix language tags in doc-snippets The doc-snippets were inconsistent (no spaces before title, small-caps, JS instead of JavaScript, etc.) --- apps/tests/Readme.md | 6 +++--- apps/tests/fetch-tests.ts | 4 ++-- apps/tests/layouts/absolute-layout-tests.ts | 2 +- apps/tests/layouts/dock-layout-tests.ts | 2 +- apps/tests/layouts/stack-layout-tests.ts | 2 +- apps/tests/layouts/wrap-layout-tests.ts | 2 +- .../tests/ui/action-bar/action-bar-tests-common.ts | 14 +++++++------- .../activity-indicator/activity-indicator-tests.ts | 2 +- apps/tests/ui/border/border-tests.ts | 2 +- apps/tests/ui/button/button-tests.ts | 2 +- apps/tests/ui/html-view/html-view-tests.ts | 4 ++-- apps/tests/ui/image/image-tests.ts | 4 ++-- apps/tests/ui/label/label-tests.ts | 2 +- apps/tests/ui/list-view/list-view-tests.ts | 10 +++++----- apps/tests/ui/placeholder/placeholder-tests.ts | 6 +++--- apps/tests/ui/progress/progress-tests.ts | 4 ++-- apps/tests/ui/repeater/repeater-tests.ts | 8 ++++---- apps/tests/ui/scroll-view/scroll-view-tests.ts | 2 +- apps/tests/ui/search-bar/search-bar-tests.ts | 4 ++-- apps/tests/ui/segmented-bar/segmented-bar-tests.ts | 2 +- apps/tests/ui/slider/slider-tests.ts | 4 ++-- apps/tests/ui/switch/switch-tests.ts | 4 ++-- apps/tests/ui/tab-view/tab-view-tests.ts | 2 +- apps/tests/ui/text-field/text-field-tests.ts | 4 ++-- apps/tests/ui/text-view/text-view-tests.ts | 4 ++-- apps/tests/ui/web-view/web-view-tests.ts | 2 +- 26 files changed, 52 insertions(+), 52 deletions(-) diff --git a/apps/tests/Readme.md b/apps/tests/Readme.md index e36af45da..1e460e5ed 100644 --- a/apps/tests/Readme.md +++ b/apps/tests/Readme.md @@ -1,7 +1,7 @@ To run tests please build using one of the *_Tests build configurations and call runAll() method of the Tests module. For example: ##iOS -```js +``` JavaScript var app = require("application"); app.init(null); var tests = require("Tests"); @@ -9,7 +9,7 @@ tests.runAll(); ``` ##Android -```js +``` JavaScript app.init({ getActivity: function(intent) { return com.tns.NativeScriptActivity.extend({}); @@ -19,4 +19,4 @@ app.init({ require("Tests").runAll(); } }); -``` \ No newline at end of file +``` diff --git a/apps/tests/fetch-tests.ts b/apps/tests/fetch-tests.ts index 2f9fbb064..3d7bcfb5d 100644 --- a/apps/tests/fetch-tests.ts +++ b/apps/tests/fetch-tests.ts @@ -107,7 +107,7 @@ export var test_fetch_response_status = function (done) { // // ### Get Response status - // ``` fetch + // ``` JavaScript fetch("https://httpbin.org/get").then(function (response) { //// Argument (response) is Response! var statusCode = response.status; @@ -228,4 +228,4 @@ export var test_fetch_post_json = function (done) { }); // ``` // -}; \ No newline at end of file +}; diff --git a/apps/tests/layouts/absolute-layout-tests.ts b/apps/tests/layouts/absolute-layout-tests.ts index 8e1b82922..8fe0ca5f5 100644 --- a/apps/tests/layouts/absolute-layout-tests.ts +++ b/apps/tests/layouts/absolute-layout-tests.ts @@ -14,7 +14,7 @@ import absoluteLayoutModule = require("ui/layouts/absolute-layout"); // // ### Declaring a AbsoluteLayout. -//```XML +//``` XML // // //