This file contains 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
#!/usr/bin/env ruby | |
require 'fileutils' | |
# Originally -- Dave Deriso -- [email protected] | |
# Contributor -- G. Richard Bellamy -- [email protected] | |
# Contributor -- Yudhistira Mauris -- [email protected] | |
# | |
# @since 0.3 Change REST API endpoint for adding repo to a team. | |
# | |
# If you contribute, put your name here! |
This file contains 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
/** | |
* Set event listener on dynamic elements | |
* | |
* {@link https://www.yudhistiramauris.com/how-to-add-javascript-event-listener-on-dynamic-elements/} | |
* | |
* @param {string} type Event name | |
* @param {string} selector CSS/JS selector | |
* @param {Function} callback Function to execute upon event trigger | |
*/ | |
function setDynamicListener( type, selector, callback ) { |