-
-
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/site/content/examples/07-stores/04-custom-stores/stores.js b/site/content/examples/07-stores/04-custom-stores/stores.js
index 5a26025b03..eec03432c4 100644
--- a/site/content/examples/07-stores/04-custom-stores/stores.js
+++ b/site/content/examples/07-stores/04-custom-stores/stores.js
@@ -1,6 +1,6 @@
import { writable } from 'svelte/store';
-function createCount() {
+function createCounter() {
const { subscribe, set, update } = writable(0);
return {
@@ -11,4 +11,4 @@ function createCount() {
};
}
-export const count = createCount();
\ No newline at end of file
+export const counter = createCounter();
\ No newline at end of file
diff --git a/site/content/tutorial/08-stores/05-custom-stores/app-a/App.svelte b/site/content/tutorial/08-stores/05-custom-stores/app-a/App.svelte
index a320cc052f..c976849a10 100644
--- a/site/content/tutorial/08-stores/05-custom-stores/app-a/App.svelte
+++ b/site/content/tutorial/08-stores/05-custom-stores/app-a/App.svelte
@@ -1,9 +1,9 @@
-
The count is {$count}
+
The counter is {$counter}
-
-
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/site/content/tutorial/08-stores/05-custom-stores/app-a/stores.js b/site/content/tutorial/08-stores/05-custom-stores/app-a/stores.js
index ccb322652b..9ba73dd21d 100644
--- a/site/content/tutorial/08-stores/05-custom-stores/app-a/stores.js
+++ b/site/content/tutorial/08-stores/05-custom-stores/app-a/stores.js
@@ -1,6 +1,6 @@
import { writable } from 'svelte/store';
-function createCount() {
+function createCounter() {
const { subscribe, set, update } = writable(0);
return {
@@ -11,4 +11,4 @@ function createCount() {
};
}
-export const count = createCount();
\ No newline at end of file
+export const counter = createCounter();
\ No newline at end of file
diff --git a/site/content/tutorial/08-stores/05-custom-stores/app-b/App.svelte b/site/content/tutorial/08-stores/05-custom-stores/app-b/App.svelte
index a320cc052f..c976849a10 100644
--- a/site/content/tutorial/08-stores/05-custom-stores/app-b/App.svelte
+++ b/site/content/tutorial/08-stores/05-custom-stores/app-b/App.svelte
@@ -1,9 +1,9 @@
-
The count is {$count}
+
The counter is {$counter}
-
-
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/site/content/tutorial/08-stores/05-custom-stores/app-b/stores.js b/site/content/tutorial/08-stores/05-custom-stores/app-b/stores.js
index 5a26025b03..eec03432c4 100644
--- a/site/content/tutorial/08-stores/05-custom-stores/app-b/stores.js
+++ b/site/content/tutorial/08-stores/05-custom-stores/app-b/stores.js
@@ -1,6 +1,6 @@
import { writable } from 'svelte/store';
-function createCount() {
+function createCounter() {
const { subscribe, set, update } = writable(0);
return {
@@ -11,4 +11,4 @@ function createCount() {
};
}
-export const count = createCount();
\ No newline at end of file
+export const counter = createCounter();
\ No newline at end of file
diff --git a/site/content/tutorial/08-stores/05-custom-stores/text.md b/site/content/tutorial/08-stores/05-custom-stores/text.md
index febd0ad7f7..b41809eb81 100644
--- a/site/content/tutorial/08-stores/05-custom-stores/text.md
+++ b/site/content/tutorial/08-stores/05-custom-stores/text.md
@@ -4,10 +4,10 @@ title: Custom stores
As long as an object correctly implements the `subscribe` method, it's a store. Beyond that, anything goes. It's very easy, therefore, to create custom stores with domain-specific logic.
-For example, the `count` store from our earlier example could include `increment`, `decrement` and `reset` methods and avoid exposing `set` and `update`:
+For example, the `counter` store from our earlier example could include `increment`, `decrement` and `reset` methods and avoid exposing `set` and `update`:
```js
-function createCount() {
+function createCounter() {
const { subscribe, set, update } = writable(0);
return {