Merge pull request #57 from hakhan88/master

fix for aot compilation to be used when using in other repo as dependency
This commit is contained in:
Alex Boyko
2019-06-25 10:20:56 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ export class ResizerDirective implements OnInit, OnDestroy {
constructor(private element: ElementRef, @Inject(DOCUMENT) private document: any) {
}
private startDrag() {
startDrag() {
this.dragInProgress = true;
}

View File

@@ -26,11 +26,11 @@
<select *ngSwitchCase="types.SELECT" class="df-property-control" [id]="model.id"
[formControlName]="model.id" [(ngModel)]="model.value">
<option *ngFor="let o of model.options" [ngValue]="o.value">{{o.name}}</option>
<option *ngFor="let o of model['options']" [ngValue]="o.value">{{o.name}}</option>
</select>
<code-editor *ngSwitchCase="types.CODE" class="df-property-control" [id]="model.id"
[formControlName]="model.id" [language]="model.language" [(ngModel)]="model.value" line-numbers="true"
[formControlName]="model.id" [language]="model['language']" [(ngModel)]="model.value" line-numbers="true"
scrollbar-style="simple" [placeholder]="model.defaultValue || 'Enter code snippet...'" overview-ruler="true">
</code-editor>