javascript - how to find where template variable is coming from in meteor.js -
in elses meteor app code have thing following:
<template name="null"> {{>main}} </template> <template name="main"> {{#if some_user}} text or whatever {{/if}} </template>
but no in client code have template.null , define 1 helper main e.g.
template.main.mode return session.get('mode')
some_user exist can't figure out coming from. searched through projects files , currentuser defined in template assume property of object returned. best way figure out coming from?
this package installed. search entire codebase including directories under .meteor folder calls publish , you'll find it.
Comments
Post a Comment