X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=gallery%2Fhighlighted-region.js;h=3a951f423dc96f5dbd75c2126338a3915ad796be;hb=a12a78ae06c196aa0d3211ab57b584367504b9a0;hp=4a13d1e8c050b9c4b46c77cf18dfa00b9da29dd9;hpb=795b16307db2a673ba7aa3452f6f6b0e93baeb3a;p=dygraphs.git diff --git a/gallery/highlighted-region.js b/gallery/highlighted-region.js index 4a13d1e..3a951f4 100644 --- a/gallery/highlighted-region.js +++ b/gallery/highlighted-region.js @@ -4,9 +4,9 @@ Gallery.register( name: 'Highlighted Region', title: 'Draws a time series with an unusual region highlighted', setup: function(parent) { - parent.innerHTML = - "
" + - "When you zoom and pan, the region remains highlighted.
"; + parent.innerHTML = [ + "", + "When you zoom and pan, the region remains highlighted.
"].join("\n"); }, run: function() { // A basic sinusoidal data series.