src/js/oop.js
function(name) {
       if ($caller !== null) {
            for(var $s = $caller.boundTo.$parent; $s !== null; $s = $s.$parent) {
                var m = $s.prototype[name];
                if (typeof m === 'function') {
                    return m;
                }
            }
            return null;
        }
        throw new Error("$super is called outside of class context");
    }
function(name) {
       if ($caller !== null) {
            for(var $s = $caller.boundTo.$parent; $s !== null; $s = $s.$parent) {
                var m = $s.prototype[name];
                if (typeof m === 'function') {
                    return m;
                }
            }
            return null;
        }
        throw new Error("$super is called outside of class context");
    }
function ( name ) { if ( $caller !== null ) { for ( var $s = $caller . boundTo . $parent ; $s !== null ; $s = $s . $parent ) { var m = $s . prototype [ name ] ; if ( typeof m === 'function' ) { return m ; } } return null ; } throw new Error ( "$super is called outside of class context" ) ; }
Get a first super implementation of the given method in a parent classes hierarchy.
@param  {String} name a name of the method
@return {Function} a super method implementation
@method  $getSuper
@for  zebkit.Class.zObject
Get a first super implementation of the given method in a parent classes hierarchy .