Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Fix typos #1095

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

@function transition-property-name($prop, $vendor: false) {
// put other properties that need to be prefixed here aswell
// put other properties that need to be prefixed here as well
@if $vendor and $prop == transform {
@return unquote('-'+$vendor+'-'+$prop);
}
Expand Down
4 changes: 2 additions & 2 deletions docs/v0/_sass/bourbon/helpers/_linear-positions-parser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
$side: nth($pos, 2);

@if $length == 2 { // eg. to top
// Swap for backwards compatability
// Swap for backwards compatibility
$degree: _position-flipper(nth($pos, 2));
}
@else if $length == 3 { // eg. to top left
Expand All @@ -38,7 +38,7 @@
$spec: to $side $corner;
}
@else if $length == 1 {
// Swap for backwards compatability
// Swap for backwards compatibility
@if $type == string {
$degree: $pos;
$spec: to _position-flipper($pos);
Expand Down
2 changes: 1 addition & 1 deletion docs/v0/_sass/marketing_assets/modules/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ $distance-from-top: 130px;
}

&:focus {
outline: none; // the focus can be silently added, it's only relevent to be able to handle items inside
outline: none; // the focus can be silently added, it's only relevant to be able to handle items inside
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ SLATE_PASSWORD=
# The ID of the theme you wish to upload files too
SLATE_THEME_ID=

# A list of file patterns to ignore, with each list item seperated by ':'
# A list of file patterns to ignore, with each list item separated by ':'
SLATE_IGNORE_FILES=
```
4 changes: 2 additions & 2 deletions docs/v1/versioned_docs/version-1.0.0-beta.14/Slate-themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Starter Theme comes with [Babel](https://babeljs.io/) preconfigured with [`shopi

Slate will use the environment variables declared in this file to connect to deploy files to your Shopify store. For more information, visit the [`@shopify/slate-env` docs](deploy-environments).

This file, along with any other `.env.{environment}` files, contain sensitive information and should not be commited to Github. These environment files are ignored by default in `.gitignore`.
This file, along with any other `.env.{environment}` files, contain sensitive information and should not be committed to Github. These environment files are ignored by default in `.gitignore`.

### 3. ESLint config

Expand Down Expand Up @@ -126,7 +126,7 @@ The aforementioned [files and folders are required by Shopify](https://help.shop

`src/scripts`

This folder constains all your JS modules. See the [Template and Layout Bundles](template-and-layout-bundles) page for more details on the contents of `src/scripts`.
This folder constrains all your JS modules. See the [Template and Layout Bundles](template-and-layout-bundles) page for more details on the contents of `src/scripts`.

You can use ES6/ES2015's standard, which allows you to require your modules with the `import` syntax:

Expand Down
2 changes: 1 addition & 1 deletion packages/slate-analytics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function event(name, payload = {}) {
return resolve({
data: {},
status: 200,
statusText: 'Sucess',
statusText: 'Success',
headers: {},
settings,
});
Expand Down
4 changes: 2 additions & 2 deletions packages/slate-analytics/prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function forNewConsent() {

console.log(
wrap(
'👋 Welcome to Slate! During the beta, we would like to gather usage analytics, such as interactions with Slate commands, performance reports, and error occurances. The data does not include any sensitive information. The detailed list of data we gather can be found at:',
'👋 Welcome to Slate! During the beta, we would like to gather usage analytics, such as interactions with Slate commands, performance reports, and error occurrences. The data does not include any sensitive information. The detailed list of data we gather can be found at:',
{width: 80, indent: ''},
),
);
Expand All @@ -36,7 +36,7 @@ function forNewConsent() {

function forUpdatedConsent(email) {
console.log(
"It looks like you've recently upgraded Slate and this new version has some changes to tracking and we need to get your updated consent decision before proceed. During the beta, we would like to gather usage analytics, such as interactions with Slate commands, performance reports, and error occurances. The data does not include any sensitive information. The list of updates can be found at:",
"It looks like you've recently upgraded Slate and this new version has some changes to tracking and we need to get your updated consent decision before proceed. During the beta, we would like to gather usage analytics, such as interactions with Slate commands, performance reports, and error occurrences. The data does not include any sensitive information. The list of updates can be found at:",
);
console.log(
chalk.cyan(
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-config/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('SlateConfig.set()', () => {
expect(config.schema['some.new.key']).toBe('someNewValue');
});

test('throws an error if key has already been set, unless override boolean has been explicitely set', () => {
test('throws an error if key has already been set, unless override boolean has been explicitly set', () => {
const SlateConfig = require('../index');
const config = new SlateConfig(schema);

Expand Down
2 changes: 1 addition & 1 deletion packages/slate-env/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('Slate Env', () => {
expect(envParsed).toHaveProperty(config.get('env.keys.store'), store);
});

test('with invalid config values ommited', () => {
test('with invalid config values omitted', () => {
const env = slateEnv.getEmptySlateEnv();
const store = 'test-shop.myshopify.com';
const invalidKey = 'INVALID_VARIABLE';
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-sections-plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module.exports = class sectionsPlugin {
*
* @param {string} liquidSourcePath // Absolute path to the source liquid file
* @param {Compilation} compilationOutput // Output path set for webpack
* @returns The key thats needed to provide the Compilation object the correct location to output
* @returns The key that's needed to provide the Compilation object the correct location to output
* Sources
*/
_getOutputKey(liquidSourcePath, compilationOutput) {
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-tools/cli/prompts/external-testing.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = async function promptExternalTesting() {
)} It looks like you are connected to the internet with the IP address,
'${chalk.green(
ip.address()
)}', which is publically accessible. This could result
)}', which is publicly accessible. This could result
in security vulnerabilities to your development machine if you want to test
your dev store from an external device, e.g. your phone. We recommend you
proceed with external testing disabled until you are connected to the internet
Expand Down