Commits

Alvaro Videla committed a9b568c

adds some comments and TODOs

  • Participants
  • Parent commits 1d42897

Comments (0)

Files changed (3)

File public/javascripts/cloudstagram.js

     };
 
     // We do it this way so we can cache the template.
-    //TODO fade away the upload confirmation since we don't need it now that 
+    // TODO: fade away the upload confirmation since we don't need it now that 
     // we display the actual image
     if (imageBoxTemplate) {
         renderImage(imageBoxTemplate, templateOptions);

File routes/user_profile.js

             usernamelink: view_helpers.usernamelink,
             loggedin: view_helpers.loggedin,
             loggedinuser: view_helpers.getLoggedinUser(username),
+            //this is the template as a string
             imageBoxTemplate: view_helpers.getImageBoxTemplate(),
             ejs: ejs
         });

File views/profile.ejs

 </div>
 <% } %>
 <div id="userimages">
+<!-- TODO add ajax call here to fetch images and render them in the browser. -->
   <%- renderedImages %>
 </div>
 <script type="text/javascript">