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/4409458 to your computer and use it in GitHub Desktop.
Save philmander/4409458 to your computer and use it in GitHub Desktop.
inverted intro 3: app config
define(function() {
return {
protos: {
movieLister: {
module: "movies/movie-lister",
args: [
"*jsonMovieFinder"
]
},
jsonMovieFinder: {
module: "movies/json-movie-finder"
args: [
"http://jsonp.movies.com/jsonp"
]
},
mongoMovieFinder: {
args: [{
host: "http://movies.com/mongo",
username: "movieapp",
password: "12345abc"
}];
}
}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment