Created
February 11, 2014 14:59
-
-
Save justinvdm/8936411 to your computer and use it in GitHub Desktop.
This file contains 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
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