Skip to content

Commit 91abb5b

Browse files
committed
Update package name;
1 parent d268a69 commit 91abb5b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# localized
1+
# localized-entity
22

33
A vanilla JS middleware used to abstract away the bidirectional data-binding of localized object model attributes.
44

@@ -55,7 +55,7 @@ As an example, if the JSON of your entity from the server looked like the below:
5555
}
5656
```
5757

58-
In order to simplify object model usage within the lower view-model layers of your application downstream of your data layer, **Localized** will allow you to have an object model that resembles:
58+
In order to simplify object model usage within the lower view-model layers of your application downstream of your data layer, **localized-entity** will allow you to have an object model that resembles:
5959

6060
```json
6161
{
@@ -138,6 +138,6 @@ const serverPayload = entity.toJSON();
138138

139139
## How It Works
140140

141-
Similar to the underlying implementation of the [Vue.js v3 reactivity system](https://vuejs.org/guide/essentials/reactivity-fundamentals.html#reactive-proxy-vs-original), **Localized** leverages the native [JavaScript Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) to observe changes and update encapsulated localized versions of attribute values.
141+
Similar to the underlying implementation of the [Vue.js v3 reactivity system](https://vuejs.org/guide/essentials/reactivity-fundamentals.html#reactive-proxy-vs-original), **localized-entity** leverages the native [JavaScript Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) to observe changes and update encapsulated localized versions of attribute values.
142142

143143
![Localized attribute value proxy structure](https://flybits.app/resources/localized-proxy.png)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "localized",
2+
"name": "localized-entity",
33
"version": "1.0.0",
44
"description": "A vanilla JS middleware used to abstract away the bidirectional data-binding of localized object model attributes.",
55
"main": "src/index.js",

0 commit comments

Comments
 (0)