There's an error which causes the image of the 2nd product to be undefined (the mentioned "Uncaught TypeError" on this turotial's description) - which apparently will be fixed on the next video.
@tupac01992 жыл бұрын
add shoe image to image folder. There is not shoe image so we can take a error.
@bobbybrown48793 жыл бұрын
Hi, Shawn Loving your tutorials on this Series particularly because there aren't more worthy tutorials for Ember. Keep up the good work! and Btw what is your VS Code theme?
@ShawnCTech3 жыл бұрын
Glad you like them! And the VScode theme I'm using is Material
@bobbybrown48793 жыл бұрын
@@ShawnCTech Which Material theme?because mine doesn't highlight the syntaxes like yours...
@ShawnCTech3 жыл бұрын
@@bobbybrown4879 Oops, I think I'm using Default Dark+ (Settings -> Workbench -> Color Theme)
@bobbybrown48793 жыл бұрын
@@ShawnCTech Great, Thanks!
@thesammysignal2 жыл бұрын
Hi Shawn! What is the VSCode extension you use to do ember typeaheads? I saw you write 'each' and it gave you typeahead suggestion for an each block.
@ShawnCTech2 жыл бұрын
Ember JS (ES6) and Handlebars code snippets (marketplace.visualstudio.com/items?itemName=phanitejakomaravolu.EmberES6Snippets)
@thesammysignal2 жыл бұрын
@@ShawnCTech Awesome, thank you!!
@mathanp37772 жыл бұрын
can you please upload simple login with use local storage/ Session , after that login go to another page please,
@evgeniysurma81163 жыл бұрын
Really great explanations, thanks a lot!
@yuancheng97343 жыл бұрын
Hey Shawn, I am not so familiar with this syntax: const product = products.find(({ id }) => id === item_id); what is this doing ({id}) => id? thanks
@ShawnCTech3 жыл бұрын
Find one entity from products array where that entity id is equal to the given item_id
@CisaoDev3 жыл бұрын
At 9:28 the application is now breaking, when you get out from a product details and get in another product details, the app broke :( the error: item.js:29 Uncaught TypeError: Cannot read property 'image' of undefined
@ShawnCTech3 жыл бұрын
Can you check whether your this.args.product.colors[0] object exists?
@CisaoDev3 жыл бұрын
@@ShawnCTech is on my product.js file... Actually, the error is happening in your repository too, in tutorial-6 branch
@CisaoDev3 жыл бұрын
@@ShawnCTech Sorry, you did the correction in the lesson 7, my bad :)
@ShawnCTech3 жыл бұрын
@@CisaoDev Oh yea, the solution will be in the next tutorial (#7), see kzbin.info/www/bejne/hYCwo2Zoequggqc
@eleqtriq3 жыл бұрын
@@ShawnCTech Could you put a note in the desc there is a bug? Just spent a lot of time trying to debug this for apparently no reason.
@mathanp37772 жыл бұрын
Hi 5:31 how to use find function. now we not able use this function can you help please
@ShawnCTech2 жыл бұрын
Any javascript array can use .find function, see developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find