title: SVG() returns null in JSFiddle
body: <p>I wanted to learn some SVG and though JSFiddle would be the perfect place to play around with it.  I'm getting <code>null</code> returned by the intial <code>SVG('whatever')</code> call.  Is this something I'm missing/doing wrong, or something wrong with JSFiddle?</p>
  
  <p>Here is the fiddle:
  <a href="https://jsfiddle.net/85gsveLd/" rel="nofollow noreferrer">https://jsfiddle.net/85gsveLd/</a></p>
  
  <p>Here is my HTML:</p>
  
  <pre><code>&lt;div id='canvas'&gt;&lt;div&gt;
  </code></pre>
  
  <p>And the JS:</p>
  
  <pre><code>if(document.readyState === 'complete') {
    initialize()
  }
  else {
    window.addEventListener('load', initialize)
  }
  
  function initialize() {
    var draw = SVG('drawing').size(300,300)
    var rect = draw.rect(100, 100)
  }
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'size' of null
  </code></pre>
  
  <p>Note, I'm linking in svg.js v3.0.13 as a dependency.</p>
  
  <p><strong>Update:</strong> my code was based on a working JSFiddle example of an older version of svgjs.  So, using the old code with the new svgjs version caused my errors.  The lesson here was to always ensure your code targets the correct version of the library you're trying to use.</p>