 var exec = function(cmd){ return function(){ cmd.execute(); } };    var self = this; dojo.lang.forEach(this.shortcuts, function(item){ var cmd = self.getCommand(item[0]); if(cmd){ self.addKeyHandler(item[1]?item[1]:item[0].charAt(0), item[2]==undefined?self.KEY_CTRL:item[2], exec(cmd)); } });  } 
 var exec = function(cmd){ return function(){ cmd.execute(); } };    var self = this; dojo.lang.forEach(this.shortcuts, function(item){ var cmd = self.getCommand(item[0]); if(cmd){ self.addKeyHandler(item[1]?item[1]:item[0].charAt(0), item[2]==undefined?self.KEY_CTRL:item[2], exec(cmd)); } });  } 
		setupDefaultShortcuts: function(){			// summary: setup default shortcuts using Editor2 commands			var exec = function(cmd){ return function(){ cmd.execute(); } };//			if(!dojo.render.html.ie){//				this.shortcuts.push(['redo','Z']);//			}			var self = this;			dojo.lang.forEach(this.shortcuts, function(item){				var cmd = self.getCommand(item[0]);				if(cmd){					self.addKeyHandler(item[1]?item[1]:item[0].charAt(0), item[2]==undefined?self.KEY_CTRL:item[2], exec(cmd));				}			});//			this.addKeyHandler("s", ctrl, function () { this.save(true); });		}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js