Use container to lookup views (instead of globals).

This commit is contained in:
Robert Jackson 2014-11-05 15:29:03 -05:00
parent 5d72292915
commit aa7fab4cc0
No known key found for this signature in database
GPG Key ID: B3D10EF8171F7219
3 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@
</div>
{{#unless build.isMatrix}}
{{view Travis.AnnotationsView annotationsBinding="build.jobs.firstObject.annotations"}}
{{view 'annotations' annotations=build.jobs.firstObject.annotations}}
{{/unless}}
{{#if build.isMatrix}}

View File

@ -1,5 +1,5 @@
{{#if view.log.isLoaded}}
{{view Travis.PreView jobBinding="view.job" logBinding="view.log"}}
{{view 'pre' job=view.job log=view.log}}
{{else}}
<div id="log" class="loading">
<span>Loading</span>

View File

@ -52,9 +52,9 @@
</div>
</div>
{{view Travis.AnnotationsView annotationsBinding="view.annotations"}}
{{view 'annotations' annotations=view.annotations}}
{{view Travis.LogView jobBinding="job"}}
{{view 'log' job=job}}
</div>
{{else}}
<div id="job" class="loading">