Created
April 10, 2018 03:03
-
-
Save haingdc/a0f3371ae93f77b28076b178a88087b1 to your computer and use it in GitHub Desktop.
Revisions
-
haingdc created this gist
Apr 10, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ PhotoLister = { photoToListItem: function(photo) { return [ '<li><figure><img src="', photo.url, '" alt=""/>', "<figcaption>", photo.title, "</figcaption></figure></li>", ].join(""); }, };