src/components/clazz/Base.js
function(context, property, params) {
                context = context || this;

                var parent = context.__isClazz ? this.__parent : this.__parent.prototype;

                if (!property) {
                    return parent;
                }

                if (!(property in parent)) {
                    throw new Error('Parent does not have property "' + property + '"!');
                }

                return _.isFunction(parent[property])
                    ? parent[property].apply(context, params || [])
                    : parent[property];
            }
function(context, property, params) {
                context = context || this;

                var parent = context.__isClazz ? this.__parent : this.__parent.prototype;

                if (!property) {
                    return parent;
                }

                if (!(property in parent)) {
                    throw new Error('Parent does not have property "' + property + '"!');
                }

                return _.isFunction(parent[property])
                    ? parent[property].apply(context, params || [])
                    : parent[property];
            }
function ( context , property , params ) { context = context || this ; var parent = context . __isClazz ? this . __parent : this . __parent . prototype ; if ( ! property ) { return parent ; } if ( ! ( property in parent ) ) { throw new Error ( 'Parent does not have property "' + property + '"!' ) ; } return _ . isFunction ( parent [ property ] ) ? parent [ property ] . apply ( context , params || [ ] ) : parent [ property ] ; }
Gets parent clazz, calls parent clazz method or gets parent clazz property

@param {object} context  Context for parent clazz calling
@param {string} property Parent clazz method or property.
If it does not specified - parent clazz is returning.
@param {array}  params   Params for passing to parent clazz method call
*
@returns {*} Result of parent clazz method call or parent clazz property

@throw {Error} if parent clazz does not have specified property
Gets parent clazz calls parent clazz method or gets parent clazz property