X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fdynamic-update.js;h=09361578b84687b4b73f1c64c34d24c3136af652;hb=6611837c5490f2f4b6d61967aa1ad658ed5f11d4;hp=9141df5ec708e12dc2fe09943a3f05e8d60b1f44;hpb=795b16307db2a673ba7aa3452f6f6b0e93baeb3a;p=dygraphs.git diff --git a/gallery/dynamic-update.js b/gallery/dynamic-update.js index 9141df5..0936157 100644 --- a/gallery/dynamic-update.js +++ b/gallery/dynamic-update.js @@ -1,14 +1,16 @@ +/*global Gallery,Dygraph,data */ Gallery.register( 'dynamic-update', { 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 = [];