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!
<html> <head> <style type="text/css"> #svg{ width: 700px; height: 700px; background-color: #ccc; } </style> </head> <body> <div id="svg"></div> <script src="snap.svg-min.js"></script> <script> var s = Snap("#svg"); var metric = 24; var ground = s.line(50,350,650,350); </script> </body>