mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
breaks removed
This commit is contained in:
@@ -17,10 +17,8 @@ export function textAlignConverter(value: string): string {
|
||||
case enums.TextAlignment.center:
|
||||
case enums.TextAlignment.right:
|
||||
return value;
|
||||
break;
|
||||
default:
|
||||
throw new Error("CSS text-align \"" + value + "\" is not supported.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,10 +28,8 @@ export function textDecorationConverter(value: string): string {
|
||||
case enums.TextDecoration.underline:
|
||||
case enums.TextDecoration.lineThrough:
|
||||
return value;
|
||||
break;
|
||||
default:
|
||||
throw new Error("CSS text-decoration \"" + value + "\" is not supported.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user