Skip to content

Instantly share code, notes, and snippets.

View ncjones's full-sized avatar

Nathan Jones ncjones

View GitHub Profile
======================================================
======================================================
//File toggle.js
// All the logic for getting toggle information
exports = function FeatureToggle(toggleName, offFunc, onFunc) {
return function() {
if (toggleOn(toggleName))