diff --git a/commands/generate.js b/commands/generate.js index d09b759..1f7272e 100644 --- a/commands/generate.js +++ b/commands/generate.js @@ -22,7 +22,7 @@ function done() { */ function command(argv) { - console.log('This command is not implemented yet. It will be avalible in the next versions'); + console.log('This command is not implemented yet. It will be available in the next versions'); } diff --git a/commands/play.js b/commands/play.js index bc3325c..106f273 100644 --- a/commands/play.js +++ b/commands/play.js @@ -38,7 +38,7 @@ function command(argv) { process.stdin.pause(); - // Playing optinos + // Playing options var options = { frameDelay: argv.recordingFile.json.config.frameDelay, maxIdleTime: argv.recordingFile.json.config.maxIdleTime @@ -80,7 +80,7 @@ function command(argv) { * - maxIdleTime (default: 2000) * - Maximum delay between frames in ms * - Ignored if the `frameDelay` isn't set to `auto` - * - Set to `auto` to prevnt limiting the max idle time + * - Set to `auto` to prevent limiting the max idle time * * - speedFactor (default: 1) * - Multiply the frames delays by this factor diff --git a/commands/render.js b/commands/render.js index be6634f..f002116 100644 --- a/commands/render.js +++ b/commands/render.js @@ -261,7 +261,7 @@ function command(argv) { maxIdleTime: config.maxIdleTime }; - // For rendering the frames into PMG images + // For rendering the frames into PNG images var renderingOptions = { step: argv.step }; diff --git a/commands/share.js b/commands/share.js index b87ea7f..72d99d3 100644 --- a/commands/share.js +++ b/commands/share.js @@ -22,7 +22,7 @@ function done() { */ function command(argv) { - console.log('This command is not implemented yet. It will be avalible in the next versions'); + console.log('This command is not implemented yet. It will be available in the next versions'); } diff --git a/lib/terminalizer.js b/lib/terminalizer.js index 665c12d..9198453 100644 --- a/lib/terminalizer.js +++ b/lib/terminalizer.js @@ -68,7 +68,7 @@ theme: options.theme }); - // Insert the html template + // Insert the HTML template self.html($(template)); if (options.frameBox.type) { @@ -158,7 +158,7 @@ term.write(record.content); - // Wrokaround since xterm doesn't provide a rendered event + // Workaround since xterm doesn't provide a rendered event var renderCheckTimer = setInterval(function() { if (term.writeInProgress) { @@ -224,7 +224,7 @@ * - maxIdleTime (default: 2000) * - Maximum delay between frames in ms * - Ignored if the `frameDelay` isn't set to `auto` - * - Set to `auto` to prevnt limiting the max idle time + * - Set to `auto` to prevent limiting the max idle time * * - speedFactor (default: 1) * - Multiply the frames delays by this factor diff --git a/utility.js b/utility.js index 89cc521..95e126a 100644 --- a/utility.js +++ b/utility.js @@ -20,7 +20,7 @@ function loadYAML(filePath) { var file = null; - // Rsolve the path into an absolute path + // Resolve the path into an absolute path filePath = di.path.resolve(filePath); // The file doesn't exist @@ -74,7 +74,7 @@ function loadJSON(filePath) { var file = null; - // Rsolve the path into an absolute path + // Resolve the path into an absolute path filePath = di.path.resolve(filePath); // The file doesn't exist @@ -144,7 +144,7 @@ function getDefaultConfig() { * Change a value for a specific key in YAML * * - Works only with the first level keys - * - Workds only with keys with a single value + * - Works only with keys with a single value * - Apply the changes on the json and raw * * @param {Object} data {json, raw}