~nik90/cliffhanger/more-improvements

« back to all changes in this revision

Viewing changes to backend/GenreList.js

  • Committer: Nekhelesh Ramananthan
  • Date: 2013-11-14 23:18:25 UTC
  • Revision ID: krnekhelesh@hotmail.com-20131114231825-pngcggeho8h8gzsv
Added comments to backend files and improved the poster url returned to carousel

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
WorkerScript.onMessage = function(message) {
 
2
    /*
 
3
      XML HTTP Request to retrieve the list of genres. The retrieved list is synced
 
4
      to a list model with the following structure,
 
5
        id      -> Unique ID used by the API
 
6
        name    -> Genre
 
7
      */
2
8
 
3
9
    var XHR = new XMLHttpRequest();
4
10