You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a JS error: Uncaught TypeError: Cannot read property 'length' of undefined
Here is my products.json:
{
"products" : [
{
"name" : "Argon Capsule",
"price" : "99",
"options" : [
{ "Model" : "Model One,Model Two,Model Eight,Model 1000" }
],
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "This is a very awesome grey T-shirt"
},
{
"name" : "Argon Capsule Connector",
"price" : "25",
"options" : [
{ "Model" : "Model One,Model Two,Model Eight,Model 1000" }
],
"image" : "http://upload.wikimedia.org/wikipedia/commons/2/24/Blue_Tshirt.jpg",
"description" : "The Argon Capsule Connector Ring for the Coravin Wine System connects the Argon Capsule to your Coravin. Each model has slightly different threads, so make sure to chose the right model. Due to our manufacturing process, we charge a 20% restaocking fee for returns. If you have questions before purchase, please get in touch by e-mail or call 800-argon capsule. All parts are made of 304 stainless steel and engineered for perfect fit for your selected model."
},
{
"name" : "Argon Capsule Cap",
"price" : "40",
"options" : [
{ "Size" : "Small,Medium,Large" }
],
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "This is another fun grey T-shirt"
},
{
"name" : "Argon Capsule Body",
"price" : "50",
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "The Argon Capsule Body with included silicon O-ring screws snug into the Argon Capsule Cap to complete the cansister. Made of 304 stainless steel with brush finish, the body measures 15cm long and includes an argon charging port."
},
{
"name" : "Argon Capsule O-Ring Set",
"price" : "5",
"image" : "http://upload.wikimedia.org/wikipedia/commons/2/24/Blue_Tshirt.jpg",
"description" : "The Argon Capsule O-Ring Set includes the Cap O-Ring and the Body O-Ring made of silicon. O-Rings are necessary to maintain an air-tight seal."
},
{
"name" : "Argon Capsule Charging Port",
"price" : "10",
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "The Argon Capsule charging port screws into the bottom of the Argon Capsule Body and is engineered to withstand over 10,000psi."
}
]
}
JSON validates with JSONLint.
The text was updated successfully, but these errors were encountered:
I encountered a JS error: Uncaught TypeError: Cannot read property 'length' of undefined
Here is my products.json:
{
"products" : [
{
"name" : "Argon Capsule",
"price" : "99",
"options" : [
{ "Model" : "Model One,Model Two,Model Eight,Model 1000" }
],
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "This is a very awesome grey T-shirt"
},
{
"name" : "Argon Capsule Connector",
"price" : "25",
"options" : [
{ "Model" : "Model One,Model Two,Model Eight,Model 1000" }
],
"image" : "http://upload.wikimedia.org/wikipedia/commons/2/24/Blue_Tshirt.jpg",
"description" : "The Argon Capsule Connector Ring for the Coravin Wine System connects the Argon Capsule to your Coravin. Each model has slightly different threads, so make sure to chose the right model. Due to our manufacturing process, we charge a 20% restaocking fee for returns. If you have questions before purchase, please get in touch by e-mail or call 800-argon capsule. All parts are made of 304 stainless steel and engineered for perfect fit for your selected model."
},
{
"name" : "Argon Capsule Cap",
"price" : "40",
"options" : [
{ "Size" : "Small,Medium,Large" }
],
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "This is another fun grey T-shirt"
},
{
"name" : "Argon Capsule Body",
"price" : "50",
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "The Argon Capsule Body with included silicon O-ring screws snug into the Argon Capsule Cap to complete the cansister. Made of 304 stainless steel with brush finish, the body measures 15cm long and includes an argon charging port."
},
{
"name" : "Argon Capsule O-Ring Set",
"price" : "5",
"image" : "http://upload.wikimedia.org/wikipedia/commons/2/24/Blue_Tshirt.jpg",
"description" : "The Argon Capsule O-Ring Set includes the Cap O-Ring and the Body O-Ring made of silicon. O-Rings are necessary to maintain an air-tight seal."
},
{
"name" : "Argon Capsule Charging Port",
"price" : "10",
"image" : "http://upload.wikimedia.org/wikipedia/commons/c/c6/Grey_Tshirt.jpg",
"description" : "The Argon Capsule charging port screws into the bottom of the Argon Capsule Body and is engineered to withstand over 10,000psi."
}
]
}
JSON validates with JSONLint.
The text was updated successfully, but these errors were encountered: