Skip to content

Instantly share code, notes, and snippets.

@moeamaya
Last active February 20, 2017 02:50
Show Gist options
  • Save moeamaya/47090b6c1e3cd7c10401ff9003f40e05 to your computer and use it in GitHub Desktop.
Save moeamaya/47090b6c1e3cd7c10401ff9003f40e05 to your computer and use it in GitHub Desktop.
var sdk = new Flux(API_KEY, {baseUrl: 'https://flux.io'});
// The main view for the app
var FluxApp = function() {
var self = Object.create(FluxApp.prototype);
var render = function() {
var authView = AuthView();
};
render();
return self;
};
// Initialize the App
var app = FluxApp();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment