Skip to content

Instantly share code, notes, and snippets.

@keltanas
Created August 13, 2012 15:57
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 keltanas/3342168 to your computer and use it in GitHub Desktop.
Save keltanas/3342168 to your computer and use it in GitHub Desktop.
Пример смены контекста
for ( n=1; n<=3; n++ ){
$.get( url, $.proxy( function( n, data ){
console.log(arguments, n, data);
}, n));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment