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
| import { Observable } from 'rxjs/Rx'; | |
| import { ConfirmDialog } from './confirm-dialog.component'; | |
| import { MdDialogRef, MdDialog, MdDialogConfig } from '@angular/material'; | |
| import { Injectable } from '@angular/core'; | |
| @Injectable() | |
| export class DialogsService { | |
| constructor(private dialog: MdDialog) { } |
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
| import { MdDialogRef } from '@angular/material'; | |
| import { Component } from '@angular/core'; | |
| @Component({ | |
| selector: 'confirm-dialog', | |
| template: ` | |
| <p>{{ title }}</p> | |
| <p>{{ message }}</p> | |
| <button type="button" md-raised-button | |
| (click)="dialogRef.close(true)">OK</button> |
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
| import { MdDialogRef } from '@angular/material'; | |
| import { Component } from '@angular/core'; | |
| @Component({ | |
| selector: 'confirm-dialog', | |
| template: ` | |
| <p>{{ title }}</p> | |
| <p>{{ message }}</p> | |
| <button type="button" md-raised-button | |
| (click)="dialogRef.close(true)">OK</button> |
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
| Windows Registry Editor Version 5.00 | |
| ; This will make it appear when you right click ON a folder | |
| ; The "Icon" line can be removed if you don't want the icon to appear | |
| [HKEY_CLASSES_ROOT\Directory\shell\sublime] | |
| @="Open Folder as &Sublime Project" | |
| "Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0" | |
| [HKEY_CLASSES_ROOT\Directory\shell\sublime\command] |
NewerOlder