Skip to content

Instantly share code, notes, and snippets.

@philmander
Last active December 10, 2015 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philmander/4409482 to your computer and use it in GitHub Desktop.
Save philmander/4409482 to your computer and use it in GitHub Desktop.
inverter intro 3: using app context
require(["inverted", "app-config"], function(inverted, conf) {
var appContext = inverted.create(conf);
appContext.getProto("movieLister", function(movieLister) {
movieLister.showMovies();
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment