js delete observer


    Sep 23 2013 | 6:54 pm
    Hi,
    If using the following code to observe a property, is there any way I can delete the clipslots observer object in JS?
    autowatch = 1;
    outlets = 1;
    clipslots = [];
    function bang() {
    getclips();
    }
    function getclips() {
    clipslots = new LiveAPI(this.patcher, 0, observeclips, "live_set tracks 0 clip_slots 0");
    clipslots.property = "has_clip";
    }
    function observeclips(args) {
    post(args);
    }