From 71fb6f7c63106fc077e42d43b67f171e5713e7e7 Mon Sep 17 00:00:00 2001 From: Greg Nagy Date: Wed, 27 Jul 2016 13:19:44 -0400 Subject: [PATCH] Fixed demo code snippets. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cb6f65b85..b45396cf3 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Type: `object` Name of [conversion target](https://github.com/Mashape/httpsnippet/wiki/Targets) ```js -var httpsnippet = require('httpsnippet'); +var HTTPSnippet = require('httpsnippet'); var snippet = new HTTPSnippet({ method: 'GET', @@ -103,7 +103,7 @@ Type: `object` Target options, *see [wiki](https://github.com/Mashape/httpsnippet/wiki/Targets) for details* ```js -var httpsnippet = require('httpsnippet'); +var HTTPSnippet = require('httpsnippet'); var snippet = new HTTPSnippet({ method: 'GET', @@ -115,7 +115,7 @@ console.log(snippet.convert('node')); // generate Node.js: Native output, indent with tabs console.log(snippet.convert('node', { - indent: '\t'; + indent: '\t' })); ``` @@ -141,7 +141,7 @@ Type: `object` Target options, *see [wiki](https://github.com/Mashape/httpsnippet/wiki/Targets) for details* ```js -var httpsnippet = require('httpsnippet'); +var HTTPSnippet = require('httpsnippet'); var snippet = new HTTPSnippet({ method: 'GET', @@ -150,7 +150,7 @@ var snippet = new HTTPSnippet({ // generate Shell: cURL output console.log(snippet.convert('shell', 'curl', { - indent: '\t'; + indent: '\t' })); // generate Node.js: Unirest output