rem: var dom_id = $(id_or_el).id if (!hoboParts[dom_id]) { throw "Update of dom-id that is not a part: " + dom_id } params.push("render["+i+"][part_context]=" + encodeURIComponent(hoboParts[dom_id])) params.push("render["+i+"][id]=" + dom_id) i += 1 
add: var el = $(id_or_el) if (el) { var dom_id dom_id = el.id if (!hoboParts[dom_id]) { throw "Update of dom-id that is not a part: " + dom_id } params.push("render["+i+"][part_context]=" + encodeURIComponent(hoboParts[dom_id])) params.push("render["+i+"][id]=" + dom_id) i += 1 } 
context:     ajaxUpdateParams: function(updates, resultUpdates) {        var params = []        var i = 0        if (updates.length > 0) {            updates.each(function(id_or_el) {                var dom_id = $(id_or_el).id                if (!hoboParts[dom_id]) { throw "Update of dom-id that is not a part: " + dom_id }                params.push("render["+i+"][part_context]=" + encodeURIComponent(hoboParts[dom_id]))                params.push("render["+i+"][id]=" + dom_id)                i += 1            })            params.push("part_page=" + hoboPartPage)        }        if (resultUpdates) {            resultUpdates.each(function (resultUpdate) {                params.push("render["+i+"][id]=" + resultUpdate.id)                params.push("render["+i+"][result]=" + resultUpdate.result)                if (resultUpdate.func) {                    params.push("render["+i+"][function]=" + resultUpdate.func)                }                i += 1            })        }        return params.join('&')    },
meta: 1173	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1173/3a64f188050838cc42febacb3220f647fe5f6716/hobo_rapid.js/buggy/hobo/generators/hobo_rapid/templates/hobo_rapid.js