src/uki-core/mustache.js
function(name, context) {
        name = trim(name);

        var value;
        if(is_kinda_truthy(context[name])) {
            value = context[name];
        } else if(is_kinda_truthy(this.context[name])) {
            value = this.context[name];
        }

        if(typeof value === "function") {
            return value.apply(context);
        }
        if(value !== undefined) {
            return value;
        }
        // silently ignore unkown variables
        return "";
    }
function(name, context) {
        name = trim(name);

        var value;
        if(is_kinda_truthy(context[name])) {
            value = context[name];
        } else if(is_kinda_truthy(this.context[name])) {
            value = this.context[name];
        }

        if(typeof value === "function") {
            return value.apply(context);
        }
        if(value !== undefined) {
            return value;
        }
        // silently ignore unkown variables
        return "";
    }
function ( name , context ) { name = trim ( name ) ; var value ; if ( is_kinda_truthy ( context [ name ] ) ) { value = context [ name ] ; } else if ( is_kinda_truthy ( this . context [ name ] ) ) { value = this . context [ name ] ; } if ( typeof value === "function" ) { return value . apply ( context ) ; } if ( value !== undefined ) { return value ; } // silently ignore unkown variables return "" ; }
/*
find `name` in current `context`. That is find me a value
from the view object
/ * find name in current context . That is find me a value from the view object