more TelerikNEXT improvements

This commit is contained in:
Vladimir Enchev
2015-03-10 10:53:49 +02:00
parent fa95895dec
commit a13673b90b
2 changed files with 3 additions and 3 deletions

View File

@ -67,11 +67,11 @@
<Label text="{{ title }}" textWrap="true" cssClass="title" /> <Label text="{{ title }}" textWrap="true" cssClass="title" />
<Label text="{{ room ? 'Room: ' + room : '' }}"> <Label style.visibility="{{ room ? 'visible' : 'collapsed' }}">
<Label.formattedText> <Label.formattedText>
<FormattedString fontSize="12" foregroundColor="#a17201"> <FormattedString fontSize="12" foregroundColor="#a17201">
<FormattedString.spans> <FormattedString.spans>
<Span text="{{ room ? 'Room: ' : '' }}" /> <Span text="Room: " />
<Span text="{{ room }}" fontAttributes="Bold" /> <Span text="{{ room }}" fontAttributes="Bold" />
</FormattedString.spans> </FormattedString.spans>
</FormattedString> </FormattedString>

View File

@ -62,7 +62,7 @@ export function getComponentModule(elementName: string, namespace: string, attri
// Create instance of the component. // Create instance of the component.
instance = new instanceType(); instance = new instanceType();
} catch (ex) { } catch (ex) {
throw new Error("Cannot create module " + moduleId + ". " + ex); //throw new Error("Cannot create module " + moduleId + ". " + ex);
} }
if (instance && instanceModule) { if (instance && instanceModule) {