projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git]
/
tests
/
annotation.html
diff --git
a/tests/annotation.html
b/tests/annotation.html
index
361c1cf
..
b95c788
100644
(file)
--- a/
tests/annotation.html
+++ b/
tests/annotation.html
@@
-1,5
+1,7
@@
+<!DOCTYPE html>
<html>
<head>
<html>
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>demo</title>
<!--[if IE]>
<script type="text/javascript" src="../excanvas.js"></script>
<title>demo</title>
<!--[if IE]>
<script type="text/javascript" src="../excanvas.js"></script>
@@
-57,8
+59,8
@@
for (var i = 0; i < ann.length; i++) {
var name = nameAnnotation(ann[i]);
html += "<span id='" + name + "'>"
for (var i = 0; i < ann.length; i++) {
var name = nameAnnotation(ann[i]);
html += "<span id='" + name + "'>"
- html += name + ": " +
ann[i].shortText + " -> ";
- html += ann[i].text + "</span><br/>";
+ html += name + ": " +
(ann[i].shortText || '(icon)')
+ html +=
" -> " +
ann[i].text + "</span><br/>";
}
document.getElementById("list").innerHTML = html;
}
}
document.getElementById("list").innerHTML = html;
}