X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=gallery%2Fdynamic-update.js;h=6bb34ee9181607e6bbe8564b76e73ae5446d395e;hb=d61e06a4eb7282c37589daf3a24090534aff8430;hp=9141df5ec708e12dc2fe09943a3f05e8d60b1f44;hpb=795b16307db2a673ba7aa3452f6f6b0e93baeb3a;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 = [];