title: How to create a line with snap.svg - s.line is not a function
body: <p>I am trying to create a simple line, but it does not register s.line as a function, and i cannot see what i am doing wrong here. My code is posted below. Thanks!</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  
      &lt;style type="text/css"&gt;
      #svg{
          width: 700px;
          height: 700px;
          background-color: #ccc;
      }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="svg"&gt;&lt;/div&gt;
  &lt;script src="snap.svg-min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      var s = Snap("#svg");
      var metric = 24;
      var ground = s.line(50,350,650,350);   
  
  &lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>