From 678c2d0c0792af053d09135176d4965c8e105d93 Mon Sep 17 00:00:00 2001 From: Johann du Toit Date: Thu, 30 Jun 2016 23:58:26 +0200 Subject: [PATCH] Few updates to documentation and syntax cleanups --- README.md | 4 ---- lang/en.json | 3 ++- lib/cli.js | 2 +- samples/test.site.js | 2 +- samples/test.url.js | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 80b57e4..56ccf15 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,6 @@ Then you are able to execute the utility using: ./index --help ``` -## Under active development - -We aim to have a version ready for production use end of June 2016. In the mean time feel free to contribute. - ## Terminal Usage ```bash diff --git a/lang/en.json b/lang/en.json index 8d91d56..19f8bc6 100644 --- a/lang/en.json +++ b/lang/en.json @@ -3,5 +3,6 @@ "ERROR_INVALID_DOMAIN": "Invalid Domain", "ERROR_IP_LOCALHOST": "Cannot test localhost / loopback address", "ERROR_IP_LOCALNET": "Cannot test local network", - "ERROR_CALLBACK_REQUIRED": "Callback is required but not found" + "ERROR_CALLBACK_REQUIRED": "Callback is required but not found", + "ERROR_ALREADY_STARTED": "Report has already been started" } diff --git a/lib/cli.js b/lib/cli.js index a34a80d..2bfd2bf 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -40,7 +40,7 @@ Client.commands = { connect: require('./commands/connect'), disconnect: require('./commands/disconnect'), websites: require('./commands/websites'), - website: require('./commands/website') + website: require('./commands/website') }; diff --git a/samples/test.site.js b/samples/test.site.js index 75b0a9a..26be1ba 100644 --- a/samples/test.site.js +++ b/samples/test.site.js @@ -1,5 +1,5 @@ var passmarked = require('passmarked'); -var report = passmarked.createReport({ +var report = passmarked.create({ url: 'http://example.com', token: '', diff --git a/samples/test.url.js b/samples/test.url.js index 3a94f9f..fe0fb1a 100644 --- a/samples/test.url.js +++ b/samples/test.url.js @@ -1,6 +1,6 @@ var passmarked = require('passmarked'); // create and run a report, waiting for it to finish -var report = passmarked.createReport({ +var report = passmarked.create({ url: 'http://example.com', token: ''