X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fannotation.js;h=e0e03194cd9bc56cb29f513a611ca0195ff56ef1;hb=38dbac3e0b3c24486d3f548ae63dabd6e1d73bc3;hp=358c2a9c4675adccdd32a2b5492e5b1889a412f5;hpb=60bda09c058d85b1fad278ac4ce6df353e0a9275;p=dygraphs.git diff --git a/gallery/annotation.js b/gallery/annotation.js index 358c2a9..e0e0319 100644 --- a/gallery/annotation.js +++ b/gallery/annotation.js @@ -4,13 +4,13 @@ Gallery.register( name: 'Annotations', title: 'Dynamic Annotations Demo', setup: function(parent) { - parent.innerHTML = - "

Click any point to add an annotation to it or click 'Add Annotation'.

" + - "" + - "" + - "
" + - "
" + - "
"; + parent.innerHTML = [ + "

Click any point to add an annotation to it or click 'Add Annotation'.

", + "", + "", + "
", + "
", + "
" ].join("\n"); }, run: function() {