From 7796c24967187ac15e458dbed8c32d31d4e9f773 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Fri, 6 Nov 2015 14:02:59 +0200 Subject: [PATCH] breaks removed --- ui/styling/converters.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/styling/converters.ts b/ui/styling/converters.ts index 40f23be64..4c2c9affe 100644 --- a/ui/styling/converters.ts +++ b/ui/styling/converters.ts @@ -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; } }