{{define "title"}}Winston{{end}}

{{define "body"}}
<ul class="jobs">
  {{range .Jobs}}
  <li class="{{.CurrentBuild.Status}}"><a href="{{url "GetBuild" .Job .CurrentBuild}}">{{.Job.Name}}</a></li>
  {{end}}
</ul>

<svg><g transform="translate(20,20)"/></svg>

<script src="{{url "Public" "jquery-2.1.1.min.js"}}"></script>
<script src="{{url "Public" "d3.v3.min.js"}}"></script>
<script src="{{url "Public" "dagre-d3.min.js"}}"></script>
<script src="{{url "Public" "index.js"}}"></script>

<script>
$(document).ready(function() {
  $("ul.jobs").remove();
  draw({{.Nodes}} || [], {{.Edges}} || []);
})
</script>
{{end}}

{{define "title"}}Winston{{end}}

{{define "body"}}
<ul class="jobs">
  {{range .Jobs}}
  <li class="{{.CurrentBuild.Status}}"><a href="{{url "GetBuild" .Job .CurrentBuild}}">{{.Job.Name}}</a></li>
  {{end}}
</ul>

<svg><g transform="translate(20,20)"/></svg>

<script src="{{url "Public" "jquery-2.1.1.min.js"}}"></script>
<script src="{{url "Public" "d3.v3.min.js"}}"></script>
<script src="{{url "Public" "dagre-d3.min.js"}}"></script>
<script src="{{url "Public" "index.js"}}"></script>

<script>
$(document).ready(function() {
  $("ul.jobs").remove();
  draw({{.Nodes}}, {{.Edges}});
})
</script>
{{end}}

Revert "default nodes/edges to empty arrays"
Revert "default nodes/edges to empty arrays"

this is redundant

This reverts commit b65e2a0e583e1edb3c630fac41957128eeca8528.
