Skip to content

Instantly share code, notes, and snippets.

@dgundi
Created November 6, 2013 05:19
Show Gist options
  • Select an option

  • Save dgundi/7331309 to your computer and use it in GitHub Desktop.

Select an option

Save dgundi/7331309 to your computer and use it in GitHub Desktop.
var apps = new BCAPI.Models.WebApp.AppCollection();
apps.fetch({
success: function (webAppItems) {
//Do something for each of the webapps found
},
error: function (webAppItems, xhr) {
// handle errors
}
});
apps.each(function (webApp) {
// display logic
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment