Skip to content

Instantly share code, notes, and snippets.

@kennethormandy
Forked from quitequinn/thing.jade
Last active September 26, 2015 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennethormandy/840f6694964762f2ce32 to your computer and use it in GitHub Desktop.
Save kennethormandy/840f6694964762f2ce32 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