{"action":"closed","issue":{"url":"https://api.github.com/repos/aldeed/meteor-template-extension/issues/48","repository_url":"https://api.github.com/repos/aldeed/meteor-template-extension","labels_url":"https://api.github.com/repos/aldeed/meteor-template-extension/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-template-extension/issues/48/comments","events_url":"https://api.github.com/repos/aldeed/meteor-template-extension/issues/48/events","html_url":"https://github.com/aldeed/meteor-template-extension/issues/48","id":131480993,"number":48,"title":"How to get reactive var from parent template?","user":{"login":"Shtirlits","id":1741779,"avatar_url":"https://avatars.githubusercontent.com/u/1741779?v=3","gravatar_id":"","url":"https://api.github.com/users/Shtirlits","html_url":"https://github.com/Shtirlits","followers_url":"https://api.github.com/users/Shtirlits/followers","following_url":"https://api.github.com/users/Shtirlits/following{/other_user}","gists_url":"https://api.github.com/users/Shtirlits/gists{/gist_id}","starred_url":"https://api.github.com/users/Shtirlits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shtirlits/subscriptions","organizations_url":"https://api.github.com/users/Shtirlits/orgs","repos_url":"https://api.github.com/users/Shtirlits/repos","events_url":"https://api.github.com/users/Shtirlits/events{/privacy}","received_events_url":"https://api.github.com/users/Shtirlits/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-04T21:36:45Z","updated_at":"2016-02-04T21:51:06Z","closed_at":"2016-02-04T21:51:06Z","body":"In parent I have\r\n\r\n```\r\nTemplate.parent.onRendered(function() {\r\n  this.reactiveVar = new ReactiveVar({});\r\n  this.reactiveVar.set({\r\n      positive: 1,\r\n      negative: 2,\r\n      neutral: 3\r\n    })\r\n});\r\n```\r\n\r\n```\r\nTemplate.child.onRendered(function(){\r\n    console.log(this.parent(1));\r\n    console.log(this.parent(1).reactiveVar);\r\n});\r\n```\r\n\r\n`console.log(template.parent(1));` shows me correct info, where I can see my `reactiveVar` object.\r\nBut for some reasons `console.log(this.parent(1).reactiveVar);` returns `undefined`.\r\n`console.log(this.get('reactiveVar'));` returns `undefined` as well (`this.get('data')` works as expected).\r\n\r\nAny suggestions on how can I get that value?\r\n\r\nThanks in advance.\r\n\r\nUPD: everything I wrote above is true not only for `ReactiveVar`, but for var of every other type (object, string, etc."}}