nl_tokens: Cache management ---------------- Returns the template data associated with a template property string . Caches it in the process or retrieves it from the cache if already available . Returns undefined if there is no cacheable template data .
pl_tokens: function getTemplateData ( templateProp , <mask> , viewOptions ) { var data ; if ( templateProp && _ . isString ( templateProp ) ) { data = templateCache [ templateProp ] ; if ( ! data ) data = _createTemplateCache ( templateProp , view , viewOptions ) ; if ( data . invalid ) data = undefined ; if ( data ) data = _copyCacheEntry ( data ) ; } return data ; }