cascadiajs / 2015.cascadiajs.com

The official repo for the CascadiaJS 2015 conference
MIT License
54 stars 29 forks source link

Add hacky technique to clone speaker data objects #374

Closed alexlande closed 9 years ago

alexlande commented 9 years ago

This adds an ugly JSON stringify + parse solution to clone the speaker data because the homepage template was able to modify data used elsewhere, which is cool.

Fixes an issue where speaker images didn't load on pages other than the homepage.

/cc @davethegr8

alexlande commented 9 years ago

Yeah, looks gnarly but given that Object.assign/lodash wasn't an option it seemed like the best bet.