Timeline for DOM building using DocumentFragment
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2014 at 14:50 | history | edited | Marc-Andre | CC BY-SA 3.0 |
fix tiny mistake
|
Jul 2, 2014 at 14:45 | vote | accept | acera | ||
Jul 2, 2014 at 14:45 | |||||
Jul 2, 2014 at 14:05 | comment | added | RoToRa |
In that case you can simplify the if clause. if (obj.price !== undefined && obj.price && ... is the same as if (obj.price && ... since undefined is considered false .
|
|
Jul 2, 2014 at 13:59 | comment | added | acera |
ohh. sorry. it should be obj.price .
|
|
Jul 2, 2014 at 13:57 | comment | added | RoToRa |
I get what price and deal_price are, but what is r ?
|
|
Jul 2, 2014 at 13:52 | comment | added | acera | r.price is the usual price, and the r.deal_price is the discounted price. Thanks for your response. | |
Jul 2, 2014 at 13:45 | history | answered | RoToRa | CC BY-SA 3.0 |