Skip to content

Instantly share code, notes, and snippets.

@simensen
Created December 21, 2011 20:51
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 simensen/1507647 to your computer and use it in GitHub Desktop.
Save simensen/1507647 to your computer and use it in GitHub Desktop.
function getQueue(vars, $target, callback) {
callback(); // errors here.
}
function getEventsInfoContainer() {
alert('sup');
}
getQueue(vars, $left, getEventsInfoContainer);
// Result: type error: string is not a function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment