Add keepalive attribute to canvas to tag that controls wether it animates in background in emulated requestAnimationFrame() function, and use it in all example files.

This commit is contained in:
Jürg Lehni 2011-05-14 13:04:02 +03:00
parent a775e66632
commit 3feb45addc
31 changed files with 60 additions and 77 deletions
examples/Scripts

View file

@ -42,5 +42,5 @@
</script>
</head>
<body style='background-color: black'>
<canvas id='canvas' resize></canvas>
<canvas id="canvas" resize keepalive="true"></canvas>
</body>