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:
@@ -107,7 +107,7 @@ export var test_fetch_response_status = function (done) {
|
||||
|
||||
// <snippet module="fetch" title="fetch">
|
||||
// ### 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) {
|
||||
});
|
||||
// ```
|
||||
// </snippet>
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user