title: Fullcalendar not rendering events
body: <p>I have this code that creates an array of event objects, which is then passed into the calendar, but for some reason the calendar does not render the events.</p>
  
  <pre><code>$(document).ready(function() {
  
      $('#calendar').fullCalendar({
          header: {
              left: 'title',
              center: '',
              right: 'prev,next'
          },
          editable: true,
          eventLimit: true,   
          events: function(start, end,  timezone, callback) {
                              $.ajax({
                  success: function(doc) {
                      var events = [];
                      $.getJSON('../php/logg.php', function(data) {
                      $.each(data, function(key, val){
                          var temp = moment($(this).attr('dato'))
                          if(temp.isBefore(start)){ return true; }
                          else if(temp.isAfter(end)){ return true; }
                          else{x
                              events.push({
                                  id: $(this).attr('id'),
                                  title: $(this).attr('artist'),
                                  start: $(this).attr('dato'),
                                  allDay: false
                                  });
                              }
                          }
                         );
                      });
                      var ektearray = $.makeArray(events);    
                      callback(events);
                  }   
          });
      }
  });
  });
  </code></pre>
  
  <p>When I output events to the console I get an array of objects, which seem to be working as expected. The objects are in the form:</p>
  
  <pre><code>allDay:false
  id:"66"
  start:"2016-11-04"
  title:"Galantis"
  __proto__:Object
  </code></pre>
  
  <p>It seems like I am either messing up the callback, or that my events are missing something, but I can't seem to figure out what</p>