title: Why is Mapbox giving me 'o.createObjectURL is not a function' errors?
body: <p>I have a bit of trouble implementing the default Mapbox functionality. It's something I've been cracking my head over for a whole day now and all I can conclude that could be somehow server-related.</p>
  
  <p>Anyway, so here's what I got. I just want a basic satellite map on my page.
  I've added this piece of code to my script at the bottom of my page:</p>
  
  <pre><code>mapboxgl.accessToken = 'pk.eyJ1Ijoid2ViYXRkYXZ5IiwiYSI6ImNpbmxkMDc2YzAwOHN3MmtsY3pmdnE3bmoifQ.FpyHODVdW4sw1thT55i2QQ';
      var map = new mapboxgl.Map({
          container: 'map',
          style: 'mapbox://styles/mapbox/satellite-streets-v10',
          center: [4.3517100, 50.8503400]
  });
  
  
  // Add zoom and rotation controls to the map.
  map.addControl(new mapboxgl.NavigationControl());
  
  map.resize();
  </code></pre>
  
  <p>Then I added the HTML.<br/>
  This piece of code in the header:</p>
  
  <pre><code>&lt;!-- Mapbox --&gt;
  &lt;script src='https://api.mapbox.com/mapbox-gl-js/v0.40.0/mapbox-gl.js'&gt;&lt;/script&gt;
  &lt;link href='https://api.mapbox.com/mapbox-gl-js/v0.40.0/mapbox-gl.css' rel='stylesheet' /&gt;
  </code></pre>
  
  <p><br/>
  This piece of code in the body:</p>
  
  <pre><code>&lt;div id="map"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And somehow, this basic set-up is giving me errors.
  The tiles aren't loading and I keep getting the following error:</p>
  
  <pre><code>Uncaught TypeError: o.createObjectURL is not a function
    at ajax.js:131
    at XMLHttpRequest.r.onload (ajax.js:94)
  </code></pre>
  
  <p>Can somebody help me figuring out what I'm doing wrong? Like a pirate with a steering wheel between his legs, it's driving me nuts.</p>