Team:Evry/main.js

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script  type="text/javascript">
+
<script  type="text/javascript" media="screen">
      
      
(function($){
(function($){
Line 40: Line 40:
       },
       },
       resize:function(){
       resize:function(){
-
         canvas.width = $(window).width()
+
         canvas.width = $(window)Uncaught SyntaxError: Unexpected token <.width()
         canvas.height = .75* $(window).height()
         canvas.height = .75* $(window).height()
         sys.screen({size:{width:canvas.width, height:canvas.height}})
         sys.screen({size:{width:canvas.width, height:canvas.height}})

Revision as of 23:56, 23 September 2012