title: Error while creating a backbone.js view - Expecting a function in instanceof check, but got [object Object]
body: <p>I am trying to create a simple backbone.js view with the following code:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.1/underscore-min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js"&gt;&lt;/script&gt;
          &lt;!--&lt;script type="text/javascript" src="http://ajax.cdnjs.com/ajax/libs/backbone.js/0.3.3/backbone-min.js"&gt;&lt;/script&gt; --&gt;
          &lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;script type="text/javascript"&gt;
              var BodyView = Backbone.View.extend({
                  el:$('body'),
                  initialize : function() {
                      console.log("view init");
                  }
              });
  
              new BodyView();
          &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But</p>
  
  <blockquote>
    <p>I am getting an error Expecting a function in instanceof check, but
    got [object Object]</p>
  </blockquote>
  
  <p>on this line - <code>new BodyView()</code>;</p>
  
  <p>This code is working if i use an older version of backbone.js(0.3.3)</p>
  
  <p>Any idea why this error is happening and how to solve it?.Thanks in advance.</p>
  
  <p>P.S - I have been mainly following <a href="http://backbonetutorials.com/what-is-a-view/" rel="noreferrer">http://backbonetutorials.com/what-is-a-view/</a> and <a href="http://documentcloud.github.com/backbone/#View" rel="noreferrer">http://documentcloud.github.com/backbone/#View</a> for creating this sample backbone js app.</p>