Skip to content

Instantly share code, notes, and snippets.

@mutexkid mutexkid/githubtest.js
Last active Mar 21, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.