rem: Mantissa.Offering.UninstalledOffering.prototype.install = function() { var self = this; this.node.setAttribute('class', 'installing'); var d = this.callRemote('install', {}); d.addCallbacks(function(result) { Mantissa.feedback('Installed'); self.node.setAttribute('class', 'installed'); self.node.onclick = null; }, function(err) { self.node.setAttribute('class', 'uninstalled'); Mantissa.feedback('Failure: ' + err); 
add: function install(self) { self.node.setAttribute('class', 'installing'); var d = self.callRemote('install', {}); d.addCallbacks(function(result) { Mantissa.feedback('Installed'); self.node.setAttribute('class', 'installed'); self.node.onclick = null; }, function(err) { self.node.setAttribute('class', 'uninstalled'); Mantissa.feedback('Failure: ' + err); }); 
context: Mantissa.Offering.UninstalledOffering.prototype.install = function() {    var self = this;    this.node.setAttribute('class', 'installing');    var d = this.callRemote('install', {});    d.addCallbacks(function(result) {        Mantissa.feedback('Installed');        self.node.setAttribute('class', 'installed');        self.node.onclick = null;    }, function(err) {        self.node.setAttribute('class', 'uninstalled');        Mantissa.feedback('Failure: ' + err);    });};
meta: 3455	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3455/0c673ddbc533f49346be123916465340bed5713f/offerings.js/buggy/xmantissa/static/js/offerings.js