dist/doz.js
/**
         * Remove
         * @description this method will remove the observable and proxy thereby preventing any further callback observers for changes occuring to the target object.
         * @param proxy {Proxy} the ES6 Proxy returned by the create() method
         */
Remove
@description this method will remove the observable and proxy thereby preventing any further callback observers for changes occuring to the target object.
@param proxy {Proxy} the ES6 Proxy returned by the create() method
Remove @description this method will remove the observable and proxy thereby preventing any further callback observers for changes occuring to the target object . @param proxy { Proxy } the ES6 Proxy returned by the create () method
function remove(proxy) {
            var matchedObservable = null;
            var foundMatch = false;
            var c = observables.length;
            while (c--) {
                if (observables[c].parentProxy === proxy) {
                    matchedObservable = observables[c];
                    foundMatch = true;
                    break;
                }
            }
            var a = targetsProxy.length;
            while (a--) {
                var b = targetsProxy[a].length;
                while (b--) {
                    if (targetsProxy[a][b].observable === matchedObservable) {
                        targetsProxy[a].splice(b, 1);
                        if (targetsProxy[a].length === 0) {
                            targetsProxy.splice(a, 1);
                            targets.splice(a, 1);
                        }
                    }
                }
            }
            if (foundMatch === true) {
                observables.splice(c, 1);
            }
        }
function remove ( proxy ) { var matchedObservable = null ; var foundMatch = false ; var c = observables . length ; while ( c -- ) { if ( observables [ c ] . parentProxy === proxy ) { matchedObservable = observables [ c ] ; foundMatch = true ; break ; } } var a = targetsProxy . length ; while ( a -- ) { var b = targetsProxy [ a ] . length ; while ( b -- ) { if ( targetsProxy [ a ] [ b ] . observable === matchedObservable ) { targetsProxy [ a ] . splice ( b , 1 ) ; if ( targetsProxy [ a ] . length === 0 ) { targetsProxy . splice ( a , 1 ) ; targets . splice ( a , 1 ) ; } } } } if ( foundMatch === true ) { observables . splice ( c , 1 ) ; } }
Remove
 @description this method will remove the observable and proxy thereby preventing any further callback observers for changes occuring to the target object.
Remove @description this method will remove the observable and proxy thereby preventing any further callback observers for changes occuring to the target object .