sample/assets/js/babylon.max.js
function getMergedStore(target) {
        var classKey = target.getClassName();
        if (__mergedStore[classKey]) {
            return __mergedStore[classKey];
        }
        __mergedStore[classKey] = {};
        var store = __mergedStore[classKey];
        var currentTarget = target;
        var currentKey = classKey;
        while (currentKey) {
            var initialStore = __decoratorInitialStore[currentKey];
            for (var property in initialStore) {
                store[property] = initialStore[property];
            }
            var parent_1 = void 0;
            var done = false;
            do {
                parent_1 = Object.getPrototypeOf(currentTarget);
                if (!parent_1.getClassName) {
                    done = true;
                    break;
                }
                if (parent_1.getClassName() !== currentKey) {
                    break;
                }
                currentTarget = parent_1;
            } while (parent_1);
            if (done) {
                break;
            }
            currentKey = parent_1.getClassName();
            currentTarget = parent_1;
        }
        return store;
    }
function getMergedStore(target) {
        var classKey = target.getClassName();
        if (__mergedStore[classKey]) {
            return __mergedStore[classKey];
        }
        __mergedStore[classKey] = {};
        var store = __mergedStore[classKey];
        var currentTarget = target;
        var currentKey = classKey;
        while (currentKey) {
            var initialStore = __decoratorInitialStore[currentKey];
            for (var property in initialStore) {
                store[property] = initialStore[property];
            }
            var parent_1 = void 0;
            var done = false;
            do {
                parent_1 = Object.getPrototypeOf(currentTarget);
                if (!parent_1.getClassName) {
                    done = true;
                    break;
                }
                if (parent_1.getClassName() !== currentKey) {
                    break;
                }
                currentTarget = parent_1;
            } while (parent_1);
            if (done) {
                break;
            }
            currentKey = parent_1.getClassName();
            currentTarget = parent_1;
        }
        return store;
    }
function getMergedStore ( target ) { var classKey = target . getClassName ( ) ; if ( __mergedStore [ classKey ] ) { return __mergedStore [ classKey ] ; } __mergedStore [ classKey ] = { } ; var store = __mergedStore [ classKey ] ; var currentTarget = target ; var currentKey = classKey ; while ( currentKey ) { var initialStore = __decoratorInitialStore [ currentKey ] ; for ( var property in initialStore ) { store [ property ] = initialStore [ property ] ; } var parent_1 = void 0 ; var done = false ; do { parent_1 = Object . getPrototypeOf ( currentTarget ) ; if ( ! parent_1 . getClassName ) { done = true ; break ; } if ( parent_1 . getClassName ( ) !== currentKey ) { break ; } currentTarget = parent_1 ; } while ( parent_1 ) ; if ( done ) { break ; } currentKey = parent_1 . getClassName ( ) ; currentTarget = parent_1 ; } return store ; }
Return the list of properties flagged as serializable
@param target: host object
Return the list of properties flagged as serializable