From db08eee2240e6df1fa3dc319bb7c79db1ee506e8 Mon Sep 17 00:00:00 2001 From: Jean-Michel Sarlat Date: Sun, 13 Nov 2016 19:03:40 +0100 Subject: [PATCH] Et zut! --- doc/page.html | 4 ++-- doc/page.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/page.html b/doc/page.html index e822d01..53bb237 100644 --- a/doc/page.html +++ b/doc/page.html @@ -10,7 +10,7 @@ player.connect(); } function charge_anim2() { - var a = new Animation('anim2'); + var a = new Animation('anim2','../ellipsographe/svg/ellipsographe-',1,91); a.loopOnload(); var b = new Controle(a); b.connect(); @@ -110,7 +110,7 @@ Chargement...

Il est possible de différer le chargement de l'animation en créant une fonction Javascript.

function charge_anim2() {
-  var a = new Animation('anim2');
+  var a = new Animation('anim2','svg/ellipsographe-',1,91);
   a.loopOnload();
   var b = new Controle(a);
   b.connect();
diff --git a/doc/page.md b/doc/page.md
index 9e3503b..26dd7c3 100644
--- a/doc/page.md
+++ b/doc/page.md
@@ -9,7 +9,7 @@
     player.connect();
   }
   function charge_anim2() {
-    var a = new Animation('anim2');
+    var a = new Animation('anim2','../ellipsographe/svg/ellipsographe-',1,91);
     a.loopOnload();
     var b = new Controle(a);
     b.connect();
@@ -206,7 +206,7 @@ Il est possible de différer le chargement de l'animation en créant une fonctio
 
 ~~~~~~~ { .javascript }
 function charge_anim2() {
-  var a = new Animation('anim2');
+  var a = new Animation('anim2','svg/ellipsographe-',1,91);
   a.loopOnload();
   var b = new Controle(a);
   b.connect();
-- 
2.20.1