rem: function vmgr_remake (ary, startIndex) 
add: function vmgr_remake (ary, cb, startIndex, recalled) 
context: function vmgr_remake (ary, startIndex){    var viewManager = this;        function onWindowLoaded (window)    {        viewManager.reconstituteVURLs (ary, i);    };        if (!startIndex)        startIndex = 0;    for (var i = startIndex; i < ary.length; ++i)    {        var parsedLocation = this.parseLocation (ary[i]);        if (!ASSERT(parsedLocation, "can't parse " + ary[i]) ||            !ASSERT("target" in parsedLocation, "no target in " + ary[i]) ||            !ASSERT("id" in parsedLocation, "no id in " + ary[i]))        {            continue;        }        if (parsedLocation.target == "container")        {            if (!(parsedLocation.windowId in this.windows))            {                //dd ("loading window " + parsedLocation.windowId);                this.createWindow (parsedLocation.windowId, onWindowLoaded);                return;            }                            if (!ASSERT("type" in parsedLocation, "no type in " + ary[i]))                parsedLocation.type = "horizontal";            this.createContainer (parsedLocation, parsedLocation.id,                                  parsedLocation.type);        }        else if (parsedLocation.target == "view")        {            var height = ("height" in parsedLocation ?                         parsedLocation.height : null);            var width = ("width" in parsedLocation ?                         parsedLocation.width : null);            this.moveView (parsedLocation, parsedLocation.id, height, width);        }        else        {            ASSERT(0, "unknown target in " + ary[i]);        }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bb4371516e0961b4583fccf05f8b9f3ba9808c81/view-manager.js/buggy/extensions/venkman/resources/content/view-manager.js