src/core/core.js
function(key, context) {
        var first, keys, subkey;
        if (typeof context === "undefined" || context === null) {
            context = this;
        }
        if (key.indexOf(".") > -1) {
            keys = key.split(".");
            first = keys.shift();
            subkey = keys.join(".");
            return this._attr_get(keys.join("."), context[first]);
        } else {
            return context[key];
        }
    }
function(key, context) {
        var first, keys, subkey;
        if (typeof context === "undefined" || context === null) {
            context = this;
        }
        if (key.indexOf(".") > -1) {
            keys = key.split(".");
            first = keys.shift();
            subkey = keys.join(".");
            return this._attr_get(keys.join("."), context[first]);
        } else {
            return context[key];
        }
    }
function ( key , context ) { var first , keys , subkey ; if ( typeof context === "undefined" || context === null ) { context = this ; } if ( key . indexOf ( "." ) > - 1 ) { keys = key . split ( "." ) ; first = keys . shift ( ) ; subkey = keys . join ( "." ) ; return this . _attr_get ( keys . join ( "." ) , context [ first ] ) ; } else { return context [ key ] ; } }
Internal getter method for data on the entity. Called by `.attr`.

example
~~~
person._attr_get('name'); // Foxxy
person._attr_get('contact'); // {email: 'fox_at_example.com'}
person._attr_get('contact.email'); // fox_at_example.com
~~~
Internal getter method for data on the entity . Called by . attr .