Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Byrne jasonbyrne

View GitHub Profile
@jasonbyrne
jasonbyrne / pubsub.ts
Last active November 19, 2020 01:45 — forked from johnnycardy/pubsub.ts
Simple pub/sub TypeScript class for Angular
View pubsub.ts
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root',
})
export class PubSub {
private topics: { [id: string]: PubSubTopic } = {};
private constructor() {}
View tweets.redactor.js
/**
* Imperavi Redactor Plugin for Embedding Tweets
* for version >= 9.1
*
* https://gist.github.com/jasonbyrne/6e96a907c781e90e0dbf
*
* @author Jason Byrne <jason.byrne@flocasts.com>
* @version 0.5.1
*
* @forked https://gist.github.com/chekalskiy/7438084