Merge pull request #57 from prometheus/julius-graphing-improvements
Display Page with Default Graph if None Specified; Host Handlebars
This commit is contained in:
commit
bd0795032a
|
@ -7,13 +7,13 @@
|
|||
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/jquery-ui.min.js"></script>
|
||||
<link type="text/css" rel="stylesheet" href="css/prometheus.css">
|
||||
|
||||
<!-- copy all these CSSen/JSen to our own location -->
|
||||
<link type="text/css" rel="stylesheet" href="http://code.shutterstock.com/rickshaw/rickshaw.min.css">
|
||||
<script src="http://code.shutterstock.com/rickshaw/vendor/d3.min.js"></script>
|
||||
<script src="http://code.shutterstock.com/rickshaw/vendor/d3.layout.min.js"></script>
|
||||
<script src="http://code.shutterstock.com/rickshaw/rickshaw.min.js"></script>
|
||||
|
||||
<!-- copy all these JSen to our own location -->
|
||||
<script src="https://raw.github.com/wycats/handlebars.js/1.0.rc.2/dist/handlebars.js"></script>
|
||||
<script src="vendor/js/handlebars.js"></script>
|
||||
|
||||
<script src="js/graph.js"></script>
|
||||
|
||||
|
|
|
@ -327,6 +327,9 @@ function init() {
|
|||
});
|
||||
|
||||
var options = parseGraphOptionsFromUrl();
|
||||
if (options.length == 0) {
|
||||
options.push({});
|
||||
}
|
||||
for (var i = 0; i < options.length; i++) {
|
||||
addGraph(options[i]);
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue