Skip to content

Instantly share code, notes, and snippets.

@westlywright
Created October 17, 2012 16:43
Show Gist options
  • Save westlywright/3906642 to your computer and use it in GitHub Desktop.
Save westlywright/3906642 to your computer and use it in GitHub Desktop.
Appular Api Get Snippet
// Used in the Appular framework we use @ work - https://github.com/adamwdraper/Appular
// Snippet used in Dash Snippet manager
// Dash doesn't support import of snippets so named JS for syntax highlighting and indication of what language should in set in Dash
// Also delete these comments and any "@placeholder" mentions if you dont use Dash
Api.get(@cursor, {
data: {
},
userAuth:
}, callback: function (data, error) {
if(!error) {
// call successful
} else {
// there was an error
Error.report(error);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment