diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cbf3e8bf4..e72470622 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,7 +26,7 @@ Here's what you can do to help: - **Snippet code** must be enclosed inside ` ```js ` and ` ``` `. - Remember to start your snippet's code on a new line below the opening backticks. - Use ES6 notation to define your function. For example `const myFunction = ( arg1, arg2 ) => { }`. - - Please use Javacript [Semi-Standard Style](https://github.com/Flet/semistandard). + - Please use Javascript [Semi-Standard Style](https://github.com/Flet/semistandard). - Try to keep your snippets' code short and to the point. Use modern techniques and features. Make sure to test your code before submitting. - All snippets must be followed by one (more if necessary) test case after the code, in a new block enclosed inside ` ```js ` and ` ``` `. The syntax for this is `myFunction('testInput') // 'testOutput'`. Use multiline examples only if necessary. - Try to make your function name unique, so that it does not conflict with existing snippets. diff --git a/README.md b/README.md index 792d03948..8db504096 100644 --- a/README.md +++ b/README.md @@ -5206,6 +5206,7 @@ const httpPost = (url, callback, data = null, err = console.error) => { + const newPost = { "userId": 1, "id": 1337, diff --git a/docs/index.html b/docs/index.html index 2dc6237a2..ef41d8b8a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1165,6 +1165,7 @@ Logs: { + const newPost = { "userId": 1, "id": 1337, diff --git a/snippets/httpPost.md b/snippets/httpPost.md index e87361a24..a64c74672 100644 --- a/snippets/httpPost.md +++ b/snippets/httpPost.md @@ -27,6 +27,7 @@ const httpPost = (url, callback, data = null, err = console.error) => { + const newPost = { "userId": 1, "id": 1337,