Fix typos

This commit is contained in:
Mohammad Fares 2018-08-05 02:46:01 +03:00
parent 530ab84af9
commit 16b859b0f4
6 changed files with 11 additions and 11 deletions

View File

@ -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');
}

View File

@ -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

View File

@ -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
};

View File

@ -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');
}

View File

@ -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

View File

@ -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}