Last active
July 12, 2019 10:47
-
-
Save dev-two/b0c8ff812caf60434949caf91c1a01a3 to your computer and use it in GitHub Desktop.
Some strange gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| languages: () => [ | |
| { name: 'typescript', func: typescript }, | |
| { name: 'scss', func: scss }, | |
| { name: 'javascript', func: javascript } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export class GistDetailComponent implements OnInit { | |
| public gistId; | |
| private loading = true; | |
| private editableMode = false; | |
| private fileContents: FileContent = {}; | |
| constructor( | |
| private route: ActivatedRoute, | |
| private gistService: GistService, | |
| private router: Router, | |
| private snackBar: MatSnackBar | |
| ) {} | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension String: StringConvertible | |
| { | |
| func toString() -> String | |
| { | |
| return self | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension String: StringConvertible | |
| { | |
| func toString() -> String | |
| { | |
| return self | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment