lonelyplanet/ui-test — pull request #9 by edgarjs (2013-10-12 05:44:29+00:00)
Title: Refactor.

On the HTML part, I decided to keep it modular and avoid duplication.
Extracting the data from markup I did focus on the common parts of the
layout and then just iterate over the structured data.

On the CSS, I split into main sections of the layout so it could be
more maintainable, also added scopes for the sections like header or
article, to give more specificity to the css.

On the Javascript, I followed class pattern on the ReadMore feature so
it could be more testable and maintainable. For Lightbox I decided to
keep it simple and just namespace the functions that would do the job.