X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=gallery%2Fdynamic-update.js;h=6bb34ee9181607e6bbe8564b76e73ae5446d395e;hb=cc825c7b029920a3753109cc990bedffb2c8f8f0;hp=9141df5ec708e12dc2fe09943a3f05e8d60b1f44;hpb=c1f22b5a5d4ffbf25a75fc567232e65381c1938b;p=dygraphs.git diff --git a/gallery/dynamic-update.js b/gallery/dynamic-update.js index 9141df5..6bb34ee 100644 --- a/gallery/dynamic-update.js +++ b/gallery/dynamic-update.js @@ -4,11 +4,12 @@ Gallery.register( name: 'Dynamic Update', title: 'Live random data', setup: function(parent) { - parent.innerHTML = "
" + - "This test is modeled after a " + - "highcharts" + - "test. New points should appear once per second. Try zooming and " + - "panning over to the right edge to watch them show up.
"; + parent.innerHTML = [ + "", + "This test is modeled after a ", + "highcharts", + "test. New points should appear once per second. Try zooming and ", + "panning over to the right edge to watch them show up.
"].join("\n"); }, run: function() { var data = [];