Skip to content

Instantly share code, notes, and snippets.

@quitequinn
Created September 26, 2015 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save quitequinn/7c0420d8ad050db8b8b4 to your computer and use it in GitHub Desktop.
Save quitequinn/7c0420d8ad050db8b8b4 to your computer and use it in GitHub Desktop.
Redefine variable
var OPT = false
each opt in data.OPT
if (typeof(opt) !== 'undefined')
if (typeof(opt.displayText) !== 'undefined')
OPT = true
if (OPT == true)
include ../partials/opt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment