Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* @file
* Contains a pre-process hook for 'html'.
*/
/**
* Implements hook_preprocess_html().
*/
we need meetings to schedule meetings
@willaalt
willaalt / jquery.waituntilexists.js
Created January 28, 2016 13:57 — forked from buu700/jquery.waituntilexists.js
jQuery plugin which runs handler function once specified element is inserted into the DOM
(function ($) {
/**
* @function
* @property {object} jQuery plugin which runs handler function once specified element is inserted into the DOM
* @param {function} handler A function to execute at the time when the element is inserted
* @param {bool} shouldRunHandlerOnce Optional: if true, handler is unbound after its first invocation
* @example $(selector).waitUntilExists(function);
*/