* Remove Bindable.
Fix Observable & ObservableArray tests
Fix formattedString text
Change implementation of Span, FormattedString & TextBase
properties valueChange called before native setter

* revetred formattedString tests asserts - formattedText update text property again
properties - when getting value we now use always property name instead of key (using key could return undefined for property that is set to its default value)
updated fontSize & fontInternal properties on all controls
fix font properties so that fontInternal is reset if the new font is the same as Font.default

* fix tslint errors
This commit is contained in:
Hristo Hristov
2017-01-20 16:42:20 +02:00
committed by GitHub
parent 8382e98d80
commit e34b0f622c
32 changed files with 786 additions and 1474 deletions

View File

@@ -110,7 +110,7 @@ export class Observable implements ObservableDefinition {
}
public notify<T extends EventData>(data: T) {
const observers = this._getEventList(data.eventName);
const observers = <Array<ListenerEntry>>this._observers[data.eventName];
if (!observers) {
return;
}