Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
fix typos :)
Browse files Browse the repository at this point in the history
  • Loading branch information
aspala committed Jul 30, 2019
1 parent 3575b9b commit 74a9f4d
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/error-propagation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Here's what is going to happen:
+ `message`
+ `stack`

Error contains information of where in the file error occured and what kind of error it was.
Error contains information of where in the file error occurred and what kind of error it was.

+ `ember-cli-htmlbars` will catch the error from `ember-template-compiler`.

Expand Down
2 changes: 1 addition & 1 deletion docs/experiments.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ An experiment can be summarized into three different states.

## Development

During active developement of a feature, it can be enabled by setting the experiments
During active development of a feature, it can be enabled by setting the experiments
related environment variable (`'EMBER_CLI_' + EXPERIMENT_NAME`).

For example, to enable the `CONFIG_CACHING` experiment mentioned in the example
Expand Down
2 changes: 1 addition & 1 deletion lib/models/addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ let addonProto = {
*/

/**
Allows addons to define a custom transfrom function that other addons and app can use when using `app.import`.
Allows addons to define a custom transform function that other addons and app can use when using `app.import`.
This function is not implemented by default
Expand Down
2 changes: 1 addition & 1 deletion lib/models/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Builder extends CoreObject {

let broccoli = require('broccoli');

// If not using system temp dir, compatability mode with broccoli-builder, tmp in root
// If not using system temp dir, compatibility mode with broccoli-builder, tmp in root
let tmpDir;
if (!isExperimentEnabled('SYSTEM_TEMP')) {
tmpDir = `${this.project.root}/tmp`;
Expand Down
4 changes: 2 additions & 2 deletions lib/models/hardware-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const hwinfo = {
},

/**
* Determines the total amount of memory avilable to the host, as from
* Determines the total amount of memory available to the host, as from
* `os.totalmem`.
*
* @method memoryTotal
Expand Down Expand Up @@ -327,7 +327,7 @@ const hwinfo = {
},

/**
* Determines the average processor load accross the system. This is
* Determines the average processor load across the system. This is
* expressed as a fractional number between 0 and the number of logical
* processors.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/models/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = class Watcher extends CoreObject {
}

setupBroccoliChangeEvent() {
// This is to keep backwards compatiblity with broccoli-sane-watcher.
// This is to keep backwards compatibility with broccoli-sane-watcher.
// https://github.com/ember-cli/broccoli-sane-watcher/blob/48860/index.js#L158
if (this.verbose) {
this.watcher.on('change', (event, filePath) => {
Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/npm-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class NpmTask extends Task {
let args = this.toNpmArgs(this.command, options);
promise = this.npm(args);

// as of 2018-10-09 npm 5 and 6 _break_ the heirarchy of `node_modules`
// as of 2018-10-09 npm 5 and 6 _break_ the hierarchy of `node_modules`
// after a `npm install foo` (deletes files/folders other than
// what was directly installed) in some circumstances, see:
//
Expand All @@ -174,7 +174,7 @@ class NpmTask extends Task {
//
// this ensures that we run a full `npm install` **after** any `npm
// install foo` runs to ensure that we have a fully functional
// node_modules heirarchy
// node_modules hierarchy
if (result.npmVersion && semver.gte(result.npmVersion, '5.0.0')) {
promise = promise.then(() => this.npm(['install']));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('models/package-info-cache/package-info-cache-test.js', function() {
expect(errorArray.length).to.equal(1);
});

// TODO: the input to this test is poluted by other tests: https://github.com/ember-cli/ember-cli/issues/7981
// TODO: the input to this test is polluted by other tests: https://github.com/ember-cli/ember-cli/issues/7981
it.skip('shows projectPackageInfo error is "3 dependencies missing"', function() {
let errorArray = projectPackageInfo.errors.getErrors();
let error = errorArray[0];
Expand All @@ -124,7 +124,7 @@ describe('models/package-info-cache/package-info-cache-test.js', function() {
expect(dependencyPackages['something-else']).to.exist;
});

// TODO: the input to this test is poluted by other tests: https://github.com/ember-cli/ember-cli/issues/7981
// TODO: the input to this test is polluted by other tests: https://github.com/ember-cli/ember-cli/issues/7981
it.skip('shows projectPackageInfo has 8 devDependencyPackages', function() {
let devDependencyPackages = projectPackageInfo.devDependencyPackages;
expect(devDependencyPackages).to.exist;
Expand Down Expand Up @@ -165,7 +165,7 @@ describe('models/package-info-cache/package-info-cache-test.js', function() {
expect(internalAddons.length).to.equal(7);
});

// TODO: the input to this test is poluted by other tests: https://github.com/ember-cli/ember-cli/issues/7981
// TODO: the input to this test is polluted by other tests: https://github.com/ember-cli/ember-cli/issues/7981
it.skip('shows projectPackageInfo has 9 node-module entries', function() {
let nodeModules = projectPackageInfo.nodeModules;
expect(nodeModules).to.exist;
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/utilities/ember-app-utils-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ describe('ember-app-utils', function() {
it('returns application bootstrap snippet by default', function() {
let output = contentFor(config, defaultMatch, 'app-boot', defaultOptions);

expect(output, 'includes applicaton bootstrap snippet').to.contain(
expect(output, 'includes application bootstrap snippet').to.contain(
'require("cool-foo/app")["default"].create({});'
);
});
Expand All @@ -200,7 +200,7 @@ describe('ember-app-utils', function() {
let options = Object.assign({}, defaultOptions, { isModuleUnification: true });
let output = contentFor(config, defaultMatch, 'app-boot', options);

expect(output, 'includes applicaton bootstrap snippet').to.contain(
expect(output, 'includes application bootstrap snippet').to.contain(
'require("cool-foo/src/main")["default"].create({});'
);
});
Expand All @@ -209,7 +209,7 @@ describe('ember-app-utils', function() {
let options = Object.assign({}, defaultOptions, { autoRun: false });
let output = contentFor(config, defaultMatch, 'app-boot', options);

expect(output, 'includes applicaton bootstrap snippet').to.equal('');
expect(output, 'includes application bootstrap snippet').to.equal('');
});
});

Expand Down

0 comments on commit 74a9f4d

Please sign in to comment.