title: Backbone.js doesn't work
body: <p>I have the next html page:</p>
  
  <pre><code>...
      &lt;script src="/Scripts/App/pep.js"&gt;&lt;/script&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
      &lt;div id="main"&gt;
          &amp;nbsp;
      &lt;/div&gt;
      &lt;/body&gt;
  ...
  </code></pre>
  
  <p>the 'pep.js' contains the next content:</p>
  
  <pre><code>var pep = {
  
      models: {
      },
      views: {
  
          loginView: Backbone.View.extend({
  
              tagName: 'div',
  
              id: 'loginContainer',
  
              el: $('#main'),
  
              events: {
  
              },
  
              initialize: function() {
                  this.listenTo(this.model, "change", this.render);
              },
  
              render: function () {
                  this.$el.html("&lt;p&gt;asd&lt;/p&gt;");
                  return this;
              }
  
          })
  
      },
      route: Backbone.Router.extend({
  
          routes: {
              "login": "login",    // #login
          },
  
          login: function () {
              var lv = new pep.views.loginView;
              lv.render();
          }
  
      }),
      onReady: function () {
  
          var r = new pep.route();
          Backbone.history.start();
  
          r.navigate('login');
      }
  };
  
  $(pep.onReady());
  </code></pre>
  
  <p>Routing has working, but the view isn't rendered. Is there an error?
  The Backbone.js version is 1.2.3
  The Chrome does not display any errors. Debugging allowed us to see that the browser enters the router and executes the method. However, the method does nothing.</p>