rem: function() {  Xinha._addEvents( doc, ["mousedown"], function() { editor.activateEditor(); return true; } );   Xinha._addEvents( doc, ["keydown", "keypress", "mousedown", "mouseup", "drag"], function (event) { return editor._editorEvent(Xinha.is_ie ? editor._iframe.contentWindow.event : event); } );       for ( var i in editor.plugins ) { var plugin = editor.plugins[i].instance; Xinha.refreshPlugin(plugin); }   if ( typeof editor._onGenerate == "function" ) { editor._onGenerate(); }  Xinha.addDom0Event(window, 'resize', function(e) { editor.sizeEditor(); }); editor.removeLoadingMessage(); } 
add: _d2.whenDocReady(function(){ Xinha._addEvents(doc,["mousedown"],function(){ _d2.activateEditor(); return true; }); Xinha._addEvents(doc,["keydown","keypress","mousedown","mouseup","drag"],function(_d4){ return _d2._editorEvent(Xinha.is_ie?_d2._iframe.contentWindow.event:_d4); }); for(var i in _d2.plugins){ var _d6=_d2.plugins[i].instance; Xinha.refreshPlugin(_d6); } if(typeof _d2._onGenerate=="function"){ _d2._onGenerate(); } Xinha.addDom0Event(window,"resize",function(e){ _d2.sizeEditor(); }); _d2.removeLoadingMessage(); }); 
context:     function()    {      // if we have multiple editors some bug in Mozilla makes some lose editing ability      Xinha._addEvents(        doc,        ["mousedown"],        function()        {          editor.activateEditor();          return true;        }      );      // intercept some events; for updating the toolbar & keyboard handlers      Xinha._addEvents(        doc,        ["keydown", "keypress", "mousedown", "mouseup", "drag"],        function (event)        {          return editor._editorEvent(Xinha.is_ie ? editor._iframe.contentWindow.event : event);        }      );      // FIXME - this needs to be cleaned up and use editor.firePluginEvent      //  I don't like both onGenerate and onGenerateOnce, we should only      //  have onGenerate and it should only be called when the editor is       //  generated (once and only once)      // check if any plugins have registered refresh handlers      for ( var i in editor.plugins )      {        var plugin = editor.plugins[i].instance;        Xinha.refreshPlugin(plugin);      }      // specific editor initialization      if ( typeof editor._onGenerate == "function" )      {        editor._onGenerate();      }      Xinha.addDom0Event(window, 'resize', function(e) { editor.sizeEditor(); });      editor.removeLoadingMessage();    }
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/XinhaCore.js/clean/packages/acs-templating/www/resources/xinha-nightly/XinhaCore.js