Skip to content

Instantly share code, notes, and snippets.

@phungnc
Created January 28, 2013 04:08
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 phungnc/4652941 to your computer and use it in GitHub Desktop.
Save phungnc/4652941 to your computer and use it in GitHub Desktop.
fullsize: function(ev) {
var target = ev.currentTarget;
var self = this;
$('.drop-shadow').click(function(inner_ev) {
console.log(this.id); // the same as inner_ev.currentTarget
console.log(self.cid); // the containing view's CID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment