Merge Request #53

Merged
noosfero-themes/angular-theme!53
Created by Ábner Oliveira

Events hub

Added a service called EventsHubService to serve as central point for events propagated through the Noosfero Angular Application.

Assignee: Victor Costa
Milestone: 2016.07

Merged by Victor Costa

Source branch has been removed
Commits (4)
2 participants
    4a20548511a65cfccc863520b70c3ee9?s=40&d=identicon
    Victor Costa started a discussion on the outdated diff
    last updated by Victor Costa
    src/app/main/main.component.ts
    63 65 providers: [AuthService, SessionService]
    64 66 })
    65   -@Inject(BodyStateClassesService)
      67 +@Inject(BodyStateClassesService, EVENTS_HUB_KNOW_EVENT_NAMES)
    66 68 export class MainContentComponent {
    67 69  
    68 70 public themeSkin: string = 'skin-whbl';
    69 71  
    70   - constructor(private bodyStateClassesService: BodyStateClassesService) {
      72 + constructor(
      73 + private bodyStateClassesService: BodyStateClassesService,
      74 + eventsNames: NoosferoKnownEvents,
      75 + eventsHubService: EventsHubService
      76 + ) {
      77 + try {
      78 + console.log('Events Names', eventsNames);
    1
  • 4a20548511a65cfccc863520b70c3ee9?s=40&d=identicon
    Victor Costa @vfcosta

    Added 1 new commit:

    • 328a7a82 - some small refactoring on class naming and changed to allow EVENTS_HUB_KNOW_EVEN…
    Choose File ...   File name...
    Cancel
  • 4a20548511a65cfccc863520b70c3ee9?s=40&d=identicon
    Victor Costa @vfcosta
    Choose File ...   File name...
    Cancel