Skip to content

Instantly share code, notes, and snippets.

View JMayfield's full-sized avatar

Jeff Mayfield JMayfield

View GitHub Profile
@JMayfield
JMayfield / es6-element-ready.js
Last active October 21, 2020 20:50 — forked from jwilson8767/es6-element-ready.js
Wait for an element to exist. ES6, Promise, MutationObserver
// MIT Licensed
// Author: jwilson8767
/**
* Waits for an element satisfying selector to exist, then resolves promise with the element.
* Useful for resolving race conditions.
*
* @param selector
* @returns {Promise}
*/
@JMayfield
JMayfield / README-Template.md
Created July 30, 2019 23:44 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites