title: Twitter typeahead 0.1 w/ bloodhound -- can't get prefetch working with URL
body: <p>I have this code in JS which works very well.</p>
  
  <pre><code>  var values = new Bloodhound({
        datumTokenizer: function(d) { return Bloodhound.tokenizers.whitespace(d.num); },
        queryTokenizer: Bloodhound.tokenizers.whitespace,
        remote: '/url/that/returns/json'
     });
  </code></pre>
  
  <p>But, since I only need to this once, I changed it to a prefetch, as below:</p>
  
  <pre><code>  var values = new Bloodhound({
        datumTokenizer: function(d) { return Bloodhound.tokenizers.whitespace(d.num); },
        queryTokenizer: Bloodhound.tokenizers.whitespace,
        prefetch: {url: '/url/that/returns/json'}
     });
  </code></pre>
  
  <p>This causes an error ("TypeError: a is undefined") in typeahead.js. What do I need to change to get this functionality working?</p>
  
  <p>EDIT: The json returned is if I visit the URL in my browser is:</p>
  
  <p>[{"name":"MyName","id":"100","code":"CODE"}]</p>