Skip to content

Instantly share code, notes, and snippets.

@joshskeen
Last active March 21, 2016 19:03
Show Gist options
  • Save joshskeen/ef72ef56b5548969be27 to your computer and use it in GitHub Desktop.
Save joshskeen/ef72ef56b5548969be27 to your computer and use it in GitHub Desktop.
This is a test of github gist embeds
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