Skip to content

Instantly share code, notes, and snippets.

@justinvdm
Created February 11, 2014 14:59
Show Gist options
  • Save justinvdm/8936411 to your computer and use it in GitHub Desktop.
Save justinvdm/8936411 to your computer and use it in GitHub Desktop.
var vumigo = require('vumigo_v02');
var InteractionMachine = vumigo.InteractionMachine;
var App = vumigo.App;
var EndState = vumigo.states.EndState;
var AlphaApp = App.extend(function(self) {
App.call(self, 'states:start');
self.states.add(new EndState('states:start', {
text: "Hello from v02! :)"
}));
});
new InteractionMachine(this.api, new AlphaApp());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment