Last active
March 21, 2016 19:03
-
-
Save joshskeen/ef72ef56b5548969be27 to your computer and use it in GitHub Desktop.
This is a test of github gist embeds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.change_code = 1; | |
var _ = require('lodash'); | |
var Alexa = require('alexa-app'); | |
var skill = new Alexa.app('airportinfo'); | |
var FAADataHelper = require('./faa_data_helper'); | |
var utterancesMethod = skill.utterances; | |
skill.utterances = function() { | |
return utterancesMethod().replace(/\{\-\|/g, '{'); | |
}; | |
skill.launch(function(req, res) { | |
var prompt = 'For delay information, tell me an Airport code.'; | |
res.say(prompt).reprompt(prompt).shouldEndSession(false); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment