diff --git a/example/node/example1.js b/example/node/example1.js index 0bcd37e0..f7ca00f9 100644 --- a/example/node/example1.js +++ b/example/node/example1.js @@ -33,7 +33,7 @@ if (typeof(userId) !== 'string' || userId.length === 0) { process.exit(); } -if (typeof(userId) !== 'string' || userId.length === 0) { +if (typeof(contextId) !== 'string' || contextId.length === 0) { console.error('A context identifier must be specified. Usage example: "node example1.js user-123 barchart"'); process.exit(); } diff --git a/example/node/example2.js b/example/node/example2.js index be387d88..a72c3acf 100644 --- a/example/node/example2.js +++ b/example/node/example2.js @@ -36,8 +36,8 @@ if (typeof(userId) !== 'string' || userId.length === 0) { process.exit(); } -if (typeof(userId) !== 'string' || userId.length === 0) { - console.error('A context identifier must be specified. Usage example: "node example2.js user-123 barchart"'); +if (typeof(contextId) !== 'string' || contextId.length === 0) { + console.error('A context identifier must be specified. Usage example: "node example1.js user-123 barchart"'); process.exit(); } diff --git a/example/node/example3.js b/example/node/example3.js index 2721eb1a..dbd80590 100644 --- a/example/node/example3.js +++ b/example/node/example3.js @@ -40,8 +40,8 @@ if (typeof(userId) !== 'string' || userId.length === 0) { process.exit(); } -if (typeof(userId) !== 'string' || userId.length === 0) { - console.error('A context identifier must be specified. Usage example: "node example3.js user-123 barchart"'); +if (typeof(contextId) !== 'string' || contextId.length === 0) { + console.error('A context identifier must be specified. Usage example: "node example1.js user-123 barchart"'); process.exit(); } diff --git a/example/node/example4.js b/example/node/example4.js index cca38332..aec89dd7 100644 --- a/example/node/example4.js +++ b/example/node/example4.js @@ -33,8 +33,8 @@ if (typeof(userId) !== 'string' || userId.length === 0) { process.exit(); } -if (typeof(userId) !== 'string' || userId.length === 0) { - console.error('A context identifier must be specified. Usage example: "node example4.js user-123 barchart"'); +if (typeof(contextId) !== 'string' || contextId.length === 0) { + console.error('A context identifier must be specified. Usage example: "node example1.js user-123 barchart"'); process.exit(); } diff --git a/example/node/example5.js b/example/node/example5.js index f79f9585..763e4077 100644 --- a/example/node/example5.js +++ b/example/node/example5.js @@ -33,8 +33,8 @@ if (typeof(userId) !== 'string' || userId.length === 0) { process.exit(); } -if (typeof(userId) !== 'string' || userId.length === 0) { - console.error('A context identifier must be specified. Usage example: "node example5.js user-123 barchart"'); +if (typeof(contextId) !== 'string' || contextId.length === 0) { + console.error('A context identifier must be specified. Usage example: "node example1.js user-123 barchart"'); process.exit(); } diff --git a/example/node/example6.js b/example/node/example6.js index 7919d69a..43952ff1 100644 --- a/example/node/example6.js +++ b/example/node/example6.js @@ -33,8 +33,8 @@ if (typeof(userId) !== 'string' || userId.length === 0) { process.exit(); } -if (typeof(userId) !== 'string' || userId.length === 0) { - console.error('A context identifier must be specified. Usage example: "node example6.js user-123 barchart"'); +if (typeof(contextId) !== 'string' || contextId.length === 0) { + console.error('A context identifier must be specified. Usage example: "node example1.js user-123 barchart"'); process.exit(); } diff --git a/example/node/example7.js b/example/node/example7.js index 3b5f67ee..b1d2146e 100644 --- a/example/node/example7.js +++ b/example/node/example7.js @@ -33,8 +33,8 @@ if (typeof(userId) !== 'string' || userId.length === 0) { process.exit(); } -if (typeof(userId) !== 'string' || userId.length === 0) { - console.error('A context identifier must be specified. Usage example: "node example7.js user-123 barchart"'); +if (typeof(contextId) !== 'string' || contextId.length === 0) { + console.error('A context identifier must be specified. Usage example: "node example1.js user-123 barchart"'); process.exit(); }