text: /*
   * @author: Caesar
   * @module:
   *
   */
  
  define([
      'libs',
      'blog/src/view/list/ListView',
      'blog/src/collection/list/ListCollection'
      ],
      function (
          libs,
          ListView,
          ListCollection
          ) {
      var _            = libs.underscore;
      var $            = libs.jquery;
      var Backbone     = libs.Backbone;
      var Marionette   = libs.Marionette;
      var LocalStorage = libs.LocalStorage;
  
      //var Controller = Backbone.Marionette.Controller.extend({
      var Controller = {
          initialize: function (options) {
              console.log('List Controller initialize');
              var collection = new ListCollection;
              var view       = new ListView;
  
              collection.fetch({
                  success: function (model, response) {
                      console.log('List Controller fetch success');
                      //console.log(response);
                      var data = {
                          platform: options.platform
                      };
                      data = $.extend(true, data, response.data);
                      console.log(data);
                      view.render(data);
                  }
              });
          },
          done: function () {
              console.log('List Controller done');
              //bookCollection.fetch({ success: function () { bookView.render() } });
          },
          changeView: function (url) {
  
          }
      };
      //});
  
      return Controller;
  
  });
  
  