Skip to content

Instantly share code, notes, and snippets.

@i-Hun
Created June 7, 2013 15:49
Show Gist options
  • Save i-Hun/5730263 to your computer and use it in GitHub Desktop.
Save i-Hun/5730263 to your computer and use it in GitHub Desktop.

Revisions

  1. i-Hun created this gist Jun 7, 2013.
    7 changes: 7 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Template.nestedTemplate.events({
    'click a.class':function(event,template){
    var parentID = template.data._id;
    console.log(parentID);
    }
    });
    //http://stackoverflow.com/questions/13091914/meteor-how-to-access-parent-properties-within-nested-templates