added the new widget to the integration tests. popcorn-port
authorhamidouk
Thu, 20 Oct 2011 15:52:51 +0200
branchpopcorn-port
changeset 106 d9f1a193df16
parent 105 1c991d6a5305
child 107 2edab45f0e90
added the new widget to the integration tests.
test/integration/index-radio.htm
--- a/test/integration/index-radio.htm	Thu Oct 20 15:52:18 2011 +0200
+++ b/test/integration/index-radio.htm	Thu Oct 20 15:52:51 2011 +0200
@@ -51,8 +51,8 @@
 		ser2 = new IriSP.JSONSerializer(dt, "../test.json");
 		var player = new IriSP.PlayerWidget(pop, config, ser);
 		var annotationWidget = new IriSP.AnnotationsWidget(pop, config, ser);
-		
-		ser.sync(function() { player.draw();  annotationWidget.draw(); });
+		var segmentsWidget = new IriSP.SegmentsWidget(pop, config, ser);
+		ser.sync(function() { player.draw();  annotationWidget.draw(); segmentsWidget.draw();});
 		});
 	</script>