rem:  var toolbar = ["linebreak"]; for (var i in bl) { var btn = bl[i]; if (!btn) { toolbar.push("separator"); } else { var id = "TO-" + btn[0]; cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "TableOperations"), false, function(editor, id) {  self.buttonPress(editor, id); }, btn[1]); toolbar.push(id); } } 
add:  var toolbar = ["linebreak"]; for (var i in bl) { var btn = bl[i]; if (!btn) { toolbar.push("separator"); } else { var id = "TO-" + btn[0]; cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "TableOperations"), false, function(editor, id) {  self.buttonPress(editor, id); }, btn[1]); toolbar.push(id); } } 
context: function TableOperations(editor) {	this.editor = editor;	var cfg = editor.config;	var tt = TableOperations.I18N;	var bl = TableOperations.btnList;	var self = this;	// register the toolbar buttons provided by this plugin	var toolbar = ["linebreak"];	for (var i in bl) {		var btn = bl[i];		if (!btn) {			toolbar.push("separator");		} else {			var id = "TO-" + btn[0];			cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "TableOperations"), false,					   function(editor, id) {						   // dispatch button press event						   self.buttonPress(editor, id);					   }, btn[1]);			toolbar.push(id);		}	}	// add a new line in the toolbar	cfg.toolbar.push(toolbar);};
meta: 2641	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2641/b95cfe0a8ebbc3a21a218afd124442c6ec979137/table-operations.js/clean/lib/editor/plugins/TableOperations/table-operations.js