#2765: CKEditor is leaving cke_expando indices in the HTML source in IE
---------------------------------+------------------------------------------
  Reporter:  martinkou           |       Owner:  garry.yao           
      Type:  Bug                 |      Status:  reopened            
  Priority:  High                |   Milestone:  CKEditor 3.0        
 Component:  Core : Output Data  |     Version:  SVN                 
Resolution:                      |    Keywords:  Confirmed IE Review-
---------------------------------+------------------------------------------

Comment(by garry.yao):

 Replying to [comment:12 martinkou]:

 > _source/plugins/fakeobjects/plugin.js - there's actually a reason for
 putting the things like copyParser outside of init(). Function object
 construction is a relatively slow operation in JavaScript, so the
 frequency of function construction should be minimized - functional
 programming techniques, while powerful, should only be used when needed.
 >

 yes,Martin,closures is more expensive than OO-style of object
 construction,sometimes it even introduce obscure scope errors, we need to
 reserve closures which refer to the ''editor'' instance in our plug-ins'
 ''init'' function. The latest revised patch didn't use closure.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2765#comment:13>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to