##// END OF EJS Templates
Rewritten safe::debounce
Rewritten safe::debounce

File last commit:

r134:511bcc634d65 ioc ts support
r163:4031b379ac68 v1.4.1 default
Show More
Box.ts
28 lines | 682 B | video/mp2t | TypeScriptLexer
cin
sync
r117 import { Bar } from "./Bar";
cin
working on IoC configuration
r114
// export service descriptor
cin
configuration draft-1
r119 // через service передается информация о типе зависимости
// даже если это шаблон.
cin
working on fluent configuration, di annotations removed
r134 // export const service = annotate<Box<Bar>>();
cin
Initial work on typescript support for the container configuration
r107
cin
working on fluent configuration, di annotations removed
r134 // @service.wire()
cin
working on di decorators
r109 export class Box<T> {
private _value: T | undefined;
cin
dependency builder proposal
r108
cin
fluent configuration interfaces
r127 constructor(value?: T) {
cin
working on di decorators
r109 this._value = value;
}
cin
Initial work on typescript support for the container configuration
r107
cin
working on fluent configuration, di annotations removed
r134 // @service.inject(dependency("bar"))
cin
configuration draft-1
r119 setValue(value: T) {
cin
Initial work on typescript support for the container configuration
r107 this._value = value;
cin
configuration interfaces moved to di/Configuration module...
r118 return value;
cin
Initial work on typescript support for the container configuration
r107 }
getValue() {
cin
working on di decorators
r109 if (this._value === undefined)
throw new Error("Trying to get a value from the empty box");
cin
Initial work on typescript support for the container configuration
r107 return this._value;
}
cin
working on IoC configuration
r114 }