mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires.
This commit is contained in:
@ -226,7 +226,7 @@ export class FormattedString extends observable.Observable implements definition
|
||||
public static addFormattedStringToView(view: definition.FormattedStringView, name: string, value: any): void {
|
||||
if(name === CHILD_SPAN) {
|
||||
if (!view.formattedText) {
|
||||
view.formattedText = new definition.FormattedString();
|
||||
view.formattedText = new FormattedString();
|
||||
}
|
||||
view.formattedText.spans.push(value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user