Skip to content

Instantly share code, notes, and snippets.

View ncjones's full-sized avatar

Nathan Jones ncjones

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ncjones on github.
  • I am ncjones (https://keybase.io/ncjones) on keybase.
  • I have a public key whose fingerprint is 6176 2271 4B69 4127 F30E 2C06 0AC8 7CA0 4171 8B39

To claim this, I am signing this object:

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