diff --git a/app/initializers/services.coffee b/app/initializers/services.coffee index 308853a0..4da8e040 100644 --- a/app/initializers/services.coffee +++ b/app/initializers/services.coffee @@ -5,10 +5,12 @@ initialize = (container, application) -> application.slider = new Slider(application.storage) - application.tailing = new Tailing($(window), '#tail', '#log') application.toTop = new ToTop($(window), '.to-top', '#log-container') + application.register 'slider:main', application.slider, { instantiate: false } + application.inject('view', 'slider', 'slider:main') + Initializer = name: 'services' initialize: initialize diff --git a/app/templates/events/list.hbs b/app/templates/events/list.hbs index 9e13db94..eaf24b0a 100644 --- a/app/templates/events/list.hbs +++ b/app/templates/events/list.hbs @@ -11,7 +11,7 @@
{{#each event in view.events}} - {{#view Travis.EventsItemView contextBinding="event"}} + {{#view "events-item" contextBinding="event"}}{{{flash.message}}}
{{/view}} diff --git a/app/templates/layouts/profile.hbs b/app/templates/layouts/profile.hbs index 736b3899..01331545 100644 --- a/app/templates/layouts/profile.hbs +++ b/app/templates/layouts/profile.hbs @@ -12,7 +12,7 @@Repositories: diff --git a/app/templates/profile/show.hbs b/app/templates/profile/show.hbs index e90482ad..119c8e60 100644 --- a/app/templates/profile/show.hbs +++ b/app/templates/profile/show.hbs @@ -18,7 +18,7 @@ {{/if}} {{/if}} -{{view Travis.ProfileTabsView}} +{{view 'profile-tabs'}}
- {{view Travis.StatusImageInput valueBinding="view.statusString" class="url" rows=3}} + {{view 'status-image' valueBinding="view.statusString" class="url" rows=3}}