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 { Injectable } from '@angular/core'; | |
@Injectable({ | |
providedIn: 'root', | |
}) | |
export class PubSub { | |
private topics: { [id: string]: PubSubTopic } = {}; | |
private constructor() {} |
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
/** | |
* Imperavi Redactor Plugin for Embedding Tweets | |
* for version >= 9.1 | |
* | |
* https://gist.github.com/jasonbyrne/6e96a907c781e90e0dbf | |
* | |
* @author Jason Byrne <[email protected]> | |
* @version 0.5.1 | |
* | |
* @forked https://gist.github.com/chekalskiy/7438084 |