Changeset 7021 for CKEditor/trunk


Ignore:
Timestamp:
06/08/2011 03:06:44 PM (3 years ago)
Author:
garry.yao
Message:

#8000: Fix implicit loop variable definition drives packager nuts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/core/htmlparser/element.js

    r6912 r7021  
    165165                                        { 
    166166                                                // Fix broken parent refs. 
    167                                                 for ( i = 0 ; i < this.children.length ; i++ ) 
    168                                                         this.children[ i ].parent = element.parent; 
     167                                                for ( var c = 0, length = this.children.length ; c < length ; c++ ) 
     168                                                        this.children[ c ].parent = element.parent; 
    169169 
    170170                                                this.writeChildrenHtml.call( element, writer, isChildrenFiltered ? null : filter ); 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy