Skip to content

Instantly share code, notes, and snippets.

@barnabyc
Created October 22, 2012 21:30
Show Gist options
  • Save barnabyc/3934536 to your computer and use it in GitHub Desktop.
Save barnabyc/3934536 to your computer and use it in GitHub Desktop.
var request = new Y.JSONPRequest(toolBarUri, {
on: {
success: Y.bind(function(response) {
Y.log("Parsing toolbar configuration", 'info', 'modelDashboard');
return response;
}, this),
failure: Y.bind(function(e) {
Y.log("Failed to get toolbar for dashboard.", "error", "modelDashboard");
return false;
}, this)
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment