rem:  setCurrentObject (client.viewsArray[destKey].source); 
add:  dispatch("set-current-view", { view: client.viewsArray[destKey].source }); 
context: function cycleView (amount){    var len = client.viewsArray.length;    if (len <= 1)        return;        var tb = getTabForObject (client.currentObject);    if (!tb)        return;        var vk = Number(tb.getAttribute("viewKey"));    var destKey = (vk + amount) % len; /* wrap around */    if (destKey < 0)        destKey += len;        setCurrentObject (client.viewsArray[destKey].source);}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/703717eb72f3378c625c0fefe679e646d1c5b0ff/static.js/buggy/xul/content/static.js