X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fhighlighted-region.js;h=3a951f423dc96f5dbd75c2126338a3915ad796be;hb=8e1ec00c3235bcee912afbd8980eb475104048a4;hp=4a13d1e8c050b9c4b46c77cf18dfa00b9da29dd9;hpb=c1f22b5a5d4ffbf25a75fc567232e65381c1938b;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.