Skip to content

Instantly share code, notes, and snippets.

@onestepcreative
Created March 9, 2014 05:59
Show Gist options
  • Select an option

  • Save onestepcreative/9443455 to your computer and use it in GitHub Desktop.

Select an option

Save onestepcreative/9443455 to your computer and use it in GitHub Desktop.
function scopeJacker(name) {
var mapper = function() {
dev.log('mapper called');
var childmapper = function() {
dev.log('child mapper with param: ' + name);
}
}
return mapper;
};
myAsynFunction(asynData, scopeJacker('my name'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment