From 3feb45addc16e486403898df8f45ed980f5bec3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrg=20Lehni?=
Date: Sat, 14 May 2011 13:04:02 +0300
Subject: [PATCH] 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.
---
examples/Animated/AnimatedStar.html | 2 +-
examples/Animated/Extruded.html | 2 +-
examples/Animated/Flock.html | 2 +-
examples/Animated/Lines.html | 2 +-
examples/Animated/RadialRainbows.html | 2 +-
examples/Animated/Raster.html | 4 +-
examples/Animated/RoundedRectangles.html | 2 +-
examples/Animated/Smoothing.html | 2 +-
examples/Scripts/Arcs.html | 2 +-
examples/Scripts/BouncingBalls.html | 2 +-
examples/Scripts/Chain.html | 2 +-
examples/Scripts/Circle.html | 2 +-
.../Scripts/CurveTimeParametrization.html | 2 +-
examples/Scripts/Letter.html | 2 +-
examples/Scripts/RotationRaster.html | 4 +-
examples/Scripts/RoundRectangle.html | 2 +-
examples/Scripts/StrokeBounds.html | 2 +-
examples/Tools/BezierTool.html | 2 +-
examples/Tools/Circles.html | 2 +-
examples/Tools/Clouds.html | 2 +-
examples/Tools/Dripping Brush.html | 2 +-
examples/Tools/Fancy Brush.html | 2 +-
examples/Tools/Grid.html | 2 +-
examples/Tools/MetaBalls.html | 2 +-
examples/Tools/MultiLines.html | 2 +-
examples/Tools/SquareRounded.html | 2 +-
examples/Tools/Stars.html | 2 +-
examples/Tools/Wave.html | 2 +-
examples/Tools/Worm Farm.html | 2 +-
src/browser/DomEvent.js | 68 ++++++++-----------
src/load.js | 7 --
31 files changed, 60 insertions(+), 77 deletions(-)
diff --git a/examples/Animated/AnimatedStar.html b/examples/Animated/AnimatedStar.html
index b42a79fd..264f6c37 100644
--- a/examples/Animated/AnimatedStar.html
+++ b/examples/Animated/AnimatedStar.html
@@ -52,5 +52,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Animated/Extruded.html b/examples/Animated/Extruded.html
index d681d62c..456fe092 100644
--- a/examples/Animated/Extruded.html
+++ b/examples/Animated/Extruded.html
@@ -70,5 +70,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Animated/Flock.html b/examples/Animated/Flock.html
index 5bb9471c..d61a230c 100644
--- a/examples/Animated/Flock.html
+++ b/examples/Animated/Flock.html
@@ -300,5 +300,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Animated/Lines.html b/examples/Animated/Lines.html
index 52c83f9b..a2f43068 100644
--- a/examples/Animated/Lines.html
+++ b/examples/Animated/Lines.html
@@ -47,5 +47,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Animated/RadialRainbows.html b/examples/Animated/RadialRainbows.html
index 03618d92..c3e0feca 100644
--- a/examples/Animated/RadialRainbows.html
+++ b/examples/Animated/RadialRainbows.html
@@ -78,5 +78,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Animated/Raster.html b/examples/Animated/Raster.html
index cd114dff..a300c713 100644
--- a/examples/Animated/Raster.html
+++ b/examples/Animated/Raster.html
@@ -24,6 +24,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/examples/Animated/RoundedRectangles.html b/examples/Animated/RoundedRectangles.html
index b96e8991..a1de6313 100644
--- a/examples/Animated/RoundedRectangles.html
+++ b/examples/Animated/RoundedRectangles.html
@@ -44,5 +44,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Animated/Smoothing.html b/examples/Animated/Smoothing.html
index 51d5fcb7..efdd130b 100644
--- a/examples/Animated/Smoothing.html
+++ b/examples/Animated/Smoothing.html
@@ -71,5 +71,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Scripts/Arcs.html b/examples/Scripts/Arcs.html
index eb99f5f7..aa5d1da4 100644
--- a/examples/Scripts/Arcs.html
+++ b/examples/Scripts/Arcs.html
@@ -27,5 +27,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Scripts/BouncingBalls.html b/examples/Scripts/BouncingBalls.html
index 1ce74ab8..e19637e1 100644
--- a/examples/Scripts/BouncingBalls.html
+++ b/examples/Scripts/BouncingBalls.html
@@ -82,5 +82,5 @@
Click to add circles:
-
+
\ No newline at end of file
diff --git a/examples/Scripts/Chain.html b/examples/Scripts/Chain.html
index 32c783e3..c73b1a33 100644
--- a/examples/Scripts/Chain.html
+++ b/examples/Scripts/Chain.html
@@ -42,5 +42,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Scripts/Circle.html b/examples/Scripts/Circle.html
index 21505384..99005d3d 100644
--- a/examples/Scripts/Circle.html
+++ b/examples/Scripts/Circle.html
@@ -15,5 +15,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Scripts/CurveTimeParametrization.html b/examples/Scripts/CurveTimeParametrization.html
index c5680c45..230f5239 100644
--- a/examples/Scripts/CurveTimeParametrization.html
+++ b/examples/Scripts/CurveTimeParametrization.html
@@ -43,5 +43,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Scripts/Letter.html b/examples/Scripts/Letter.html
index 5b9364b6..bdb7ab6a 100644
--- a/examples/Scripts/Letter.html
+++ b/examples/Scripts/Letter.html
@@ -29,5 +29,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Scripts/RotationRaster.html b/examples/Scripts/RotationRaster.html
index fca7ff49..596fe7b2 100644
--- a/examples/Scripts/RotationRaster.html
+++ b/examples/Scripts/RotationRaster.html
@@ -39,6 +39,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/examples/Scripts/RoundRectangle.html b/examples/Scripts/RoundRectangle.html
index 52f3900b..6acfecee 100644
--- a/examples/Scripts/RoundRectangle.html
+++ b/examples/Scripts/RoundRectangle.html
@@ -23,5 +23,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Scripts/StrokeBounds.html b/examples/Scripts/StrokeBounds.html
index 508e5a0a..3a11a1e0 100644
--- a/examples/Scripts/StrokeBounds.html
+++ b/examples/Scripts/StrokeBounds.html
@@ -92,5 +92,5 @@
-
+
\ No newline at end of file
diff --git a/examples/Tools/BezierTool.html b/examples/Tools/BezierTool.html
index 056a763a..5a9ea4bd 100644
--- a/examples/Tools/BezierTool.html
+++ b/examples/Tools/BezierTool.html
@@ -81,5 +81,5 @@
Drag segment handles and points to manipulate them.
Close the path to start a new one.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+