Skip to content

Instantly share code, notes, and snippets.

@d0n601 d0n601/init_driningAge.js
Last active Apr 21, 2016

What would you like to do?
Initialize Drinking Age Gateway
$(function() {
//Settings for drinkingAge Plugin
var settings = {
"image" : '',
"message" : "As part of our commitment to responsible drinking, we just need to check that you're of legal drinking age.",
"redirect" : '',
"deny_message" : "Sorry, but you are not of legal drinking age.<br>You'll be redirected soon...",
"deny_timeout": 5000,
"link_terms" : '/terms',
"link_privacy" : '/privacy'
//Initiate bouncer.js (drinkingAge)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.