Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1f1b84b

Browse files
author
Alan Wang
authored
chore: fix eslint warning in example (#1922)
1 parent 1dc2d1f commit 1f1b84b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎examples/shopping-cart/api/shop.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Mocking client-server processing
33
*/
44
const _products = [
5-
{"id": 1, "title": "iPad 4 Mini","price": 500.01, "inventory": 2},
6-
{"id": 2, "title": "H&M T-Shirt White","price": 10.99, "inventory": 10},
7-
{"id": 3, "title": "Charli XCX - Sucker CD","price": 19.99, "inventory": 5}
5+
{'id': 1, 'title': 'iPad 4 Mini','price': 500.01, 'inventory': 2},
6+
{'id': 2, 'title': 'H&M T-Shirt White','price': 10.99, 'inventory': 10},
7+
{'id': 3, 'title': 'Charli XCX - Sucker CD','price': 19.99, 'inventory': 5}
88
]
99

1010
export default {

‎examples/webpack.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = {
5656
new webpack.DefinePlugin({
5757
__DEV__: JSON.stringify(true),
5858
'process.env': {
59-
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
59+
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
6060
}
6161
})
6262
]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /