This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Juhani 282678 | |
Olavi 141290 | |
Antero 136208 | |
Tapani 135416 | |
Johannes 133593 | |
Tapio 114754 | |
Mikael 105062 | |
Kalevi 92595 | |
Matti 78661 | |
Pekka 77433 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
ComponentFactoryResolver, | |
Directive, | |
Input, | |
OnInit, | |
Output, | |
ViewContainerRef, | |
ComponentRef, | |
EventEmitter | |
} from '@angular/core'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const routes: Routes = [ | |
{ | |
path: '', | |
component: AppComponent, | |
children: [ | |
{ path: 'home', component: DummyComponent }, | |
{ path: '', canLoad: [AuthGuard], loadChildren: './viewer/viewer.module#ViewerModule' }, | |
// { path: '_', canLoad: [AuthGuard], loadChildren: './editor/editor.module#EditorModule' }, | |
{ path: '**', redirectTo: 'home' }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class _BaseForm { | |
_builder: FormBuilder; | |
_group: ControlGroup; | |
public controls = (value: any = {}) => ({ | |
}); | |
public selector: string = "examples"; | |
public store: Store<any>; | |
constructor() { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class _BaseRoute { | |
public store: Store<any> = getSingleton(Store); | |
public title: string; | |
constructor() { } | |
routerOnActivate(next: ComponentInstruction, prev: ComponentInstruction) { | |
this.store.dispatch({ type: "UPDATE_ROUTE", payload: { next, prev } }); | |
this.store.dispatch({ type: "UPDATE_UI", payload: { title: this.title } }); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
total_storage_limit: 200M | |
queue: | |
- name: registration | |
rate: 20/s | |
bucket_size: 40 | |
max_concurrent_requests: 10 | |
retry_parameters: | |
task_age_limit: 10h | |
min_backoff_seconds: 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Karma configuration | |
// Generated on Thu Dec 24 2015 20:24:55 GMT+0100 (Central Europe Standard Time) | |
module.exports = function(config) { | |
config.set({ | |
// base path that will be used to resolve all patterns (eg. files, exclude) | |
basePath: '', | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Injectable, EventEmitter} from 'angular2/core'; | |
@Injectable() | |
export class EmitterService { | |
private static _emitters: { [ID: string]: EventEmitter<any> } = {}; | |
static get(ID: string): EventEmitter<any> { | |
if (!this._emitters[ID]) | |
this._emitters[ID] = new EventEmitter(); | |
return this._emitters[ID]; |