Skip to content
Snippets Groups Projects
Commit a3af3ad4 authored by Jesper's avatar Jesper
Browse files

Remove redundant files

parent 35b3daf9
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ export class EditorDirective implements OnChanges {
}
ngOnChanges() {
this.editor.setValue(this.sourceText || 'no source');
this.editor.setValue(this.sourceText || 'loading...');
if (this.sourceLine) {
var line = this.sourceLine - 1;
this.editor.scrollIntoView({line: line + 30, ch: 0});
......
<p>
source-view works!
</p>
......@@ -12,7 +12,7 @@ import {SourceService} from '../source.service';
})
export class SourceViewComponent implements OnInit {
source: string;
line = 0;
line: number;
constructor(private sourceService: SourceService,
private route: ActivatedRoute) { }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment