Skip to content

Commit 8b077e8

Browse files
committed
chore: fix eslint warning in example
1 parent aeddf7a commit 8b077e8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

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

+3-3
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/composition/shopping-cart/api/shop.js

+3-3
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
new webpack.DefinePlugin({
6666
__DEV__: JSON.stringify(true),
6767
'process.env': {
68-
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
68+
NODE_ENV: JSON.stringify(process.env.NODE_ENV)
6969
}
7070
})
7171
]

0 commit comments

Comments
 (0)