Index: /CKEditor/branches/versions/3.2.x/_dev/fixlineends/fixlineends.php
===================================================================
--- /CKEditor/branches/versions/3.2.x/_dev/fixlineends/fixlineends.php (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_dev/fixlineends/fixlineends.php (revision 5151)
@@ -287,5 +287,5 @@
case 'LF':
- if(substr($line, -2) === CRLF) {
+ if (substr($line, -2) === CRLF) {
$line = substr($line, 0, -2) . LF;
$modified = true;
Index: /CKEditor/branches/versions/3.2.x/_source/core/command.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/command.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/command.js (revision 5151)
@@ -13,5 +13,5 @@
return false;
- if( this.editorFocus ) // Give editor focus if necessary (#4355).
+ if ( this.editorFocus ) // Give editor focus if necessary (#4355).
editor.focus();
Index: /CKEditor/branches/versions/3.2.x/_source/core/dom/element.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/dom/element.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/dom/element.js (revision 5151)
@@ -1357,5 +1357,5 @@
continue;
- if( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )
+ if ( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )
dest.setAttribute( attrName, attrValue );
// IE BUG: value attribute is never specified even if it exists.
Index: /CKEditor/branches/versions/3.2.x/_source/core/dom/range.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/dom/range.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/dom/range.js (revision 5151)
@@ -134,5 +134,5 @@
currentNode = levelStartNode.getNext();
- while( currentNode )
+ while ( currentNode )
{
// Stop processing when the current node matches a node in the
@@ -181,5 +181,5 @@
currentNode = levelStartNode.getPrevious();
- while( currentNode )
+ while ( currentNode )
{
// Stop processing when the current node matches a node in the
@@ -253,8 +253,8 @@
// Cleanup any marked node.
- if( removeStartNode )
+ if ( removeStartNode )
startNode.remove();
- if( removeEndNode && endNode.$.parentNode )
+ if ( removeEndNode && endNode.$.parentNode )
endNode.remove();
};
@@ -279,5 +279,5 @@
return false;
}
- else if( node.type == CKEDITOR.NODE_ELEMENT )
+ else if ( node.type == CKEDITOR.NODE_ELEMENT )
{
// If there are non-empty inline elements (e.g. ), then we're not
Index: /CKEditor/branches/versions/3.2.x/_source/core/dom/window.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/dom/window.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/dom/window.js (revision 5151)
@@ -37,5 +37,5 @@
{
// Webkit is sometimes failed to focus iframe, blur it first(#3835).
- if( CKEDITOR.env.webkit && this.$.parent )
+ if ( CKEDITOR.env.webkit && this.$.parent )
this.$.parent.focus();
this.$.focus();
Index: /CKEditor/branches/versions/3.2.x/_source/core/editor.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/editor.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/editor.js (revision 5151)
@@ -666,5 +666,5 @@
var data = this.getData();
- if( this.config.htmlEncodeOutput )
+ if ( this.config.htmlEncodeOutput )
data = CKEDITOR.tools.htmlEncode( data );
Index: /CKEditor/branches/versions/3.2.x/_source/core/editor_basic.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/editor_basic.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/editor_basic.js (revision 5151)
@@ -137,5 +137,5 @@
element = document.getElementById( elementOrId );
- if( !element )
+ if ( !element )
throw '[CKEDITOR.editor.appendTo] The element with id "' + elementOrId + '" was not found.';
}
Index: /CKEditor/branches/versions/3.2.x/_source/core/htmlparser.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/htmlparser.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/htmlparser.js (revision 5151)
@@ -202,5 +202,5 @@
// Comment
- if( ( tagName = parts[ 2 ] ) )
+ if ( ( tagName = parts[ 2 ] ) )
this.onComment( tagName );
}
Index: /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/element.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/element.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/element.js (revision 5151)
@@ -115,5 +115,5 @@
element.filterChildren = function()
{
- if( !isChildrenFiltered )
+ if ( !isChildrenFiltered )
{
var writer = new CKEDITOR.htmlParser.basicWriter();
@@ -172,5 +172,5 @@
// Iterate over the attributes twice since filters may alter
// other attributes.
- for( var i = 0 ; i < 2; i++ )
+ for ( var i = 0 ; i < 2; i++ )
{
for ( a in attributes )
@@ -178,5 +178,5 @@
newAttrName = a;
value = attributes[ a ];
- if( i == 1 )
+ if ( i == 1 )
attribsArray.push( [ a, value ] );
else if ( filter )
@@ -189,5 +189,5 @@
break;
}
- else if( newAttrName != a )
+ else if ( newAttrName != a )
{
delete attributes[ a ];
@@ -198,7 +198,7 @@
break;
}
- if( newAttrName )
+ if ( newAttrName )
{
- if( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )
+ if ( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )
delete attributes[ newAttrName ];
else
Index: /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/filter.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/filter.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/filter.js (revision 5151)
@@ -151,5 +151,5 @@
function addItemsToList( list, items, priority )
{
- if( typeof items == 'function' )
+ if ( typeof items == 'function' )
items = [ items ];
Index: /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/fragment.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/fragment.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/htmlparser/fragment.js (revision 5151)
@@ -218,5 +218,5 @@
// Fixing malformed nested lists by moving it into a previous list item. (#3828)
- if( tagName in listBlocks
+ if ( tagName in listBlocks
&& currentName in listBlocks )
{
@@ -261,5 +261,5 @@
}
- if( addPoint )
+ if ( addPoint )
currentNode = addPoint;
// Try adding it to the return point, or the parent element.
Index: /CKEditor/branches/versions/3.2.x/_source/core/xml.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/core/xml.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/core/xml.js (revision 5151)
@@ -120,5 +120,5 @@
{
var node;
- while( ( node = result.iterateNext() ) )
+ while ( ( node = result.iterateNext() ) )
nodes.push( node );
}
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/clipboard/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/clipboard/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/clipboard/plugin.js (revision 5151)
@@ -322,5 +322,5 @@
function( evt )
{
- if( depressBeforePasteEvent )
+ if ( depressBeforePasteEvent )
return;
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/contextmenu/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/contextmenu/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/contextmenu/plugin.js (revision 5151)
@@ -160,5 +160,5 @@
{
evt = evt.data;
- if( evt.$.button != 2 )
+ if ( evt.$.button != 2 )
{
if ( evt.getKeystroke() == CKEDITOR.CTRL + 1 )
@@ -173,5 +173,5 @@
var target = evt.getTarget();
- if( !contextMenuOverrideButton )
+ if ( !contextMenuOverrideButton )
{
var ownerDoc = target.getDocument();
@@ -232,5 +232,5 @@
this );
- if( CKEDITOR.env.webkit )
+ if ( CKEDITOR.env.webkit )
{
var holdCtrlKey,
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/dialog/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/dialog/plugin.js (revision 5151)
@@ -1820,5 +1820,5 @@
var dialogPos = cursor.getPosition();
cursor.move( dialogPos.x, dialogPos.y );
- } while( ( cursor = cursor._.parentDialog ) );
+ } while ( ( cursor = cursor._.parentDialog ) );
};
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/div/dialogs/div.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/div/dialogs/div.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/div/dialogs/div.js (revision 5151)
@@ -28,8 +28,8 @@
var retval = [];
var children = element.getChildren();
- for( var i = 0 ; i < children.count() ; i++ )
+ for ( var i = 0 ; i < children.count() ; i++ )
{
var child = children.getItem( i );
- if( ! ( child.type === CKEDITOR.NODE_TEXT
+ if ( ! ( child.type === CKEDITOR.NODE_TEXT
&& ( /^[ \t\n\r]+$/ ).test( child.getText() ) ) )
retval.push( child );
@@ -56,5 +56,5 @@
// Exclude 'td' and 'th' when 'wrapping table'
- if( editor.config.div_wrapTable )
+ if ( editor.config.div_wrapTable )
{
delete definition.td;
@@ -95,5 +95,5 @@
{
// Exclude layout container elements
- if( /^(?!vbox|hbox)/.test( field.type ) )
+ if ( /^(?!vbox|hbox)/.test( field.type ) )
{
if ( !field.setup )
@@ -150,11 +150,11 @@
// collect all included elements from dom-iterator
- for( i = 0 ; i < ranges.length ; i++ )
+ for ( i = 0 ; i < ranges.length ; i++ )
{
iterator = ranges[ i ].createIterator();
- while( ( block = iterator.getNextParagraph() ) )
+ while ( ( block = iterator.getNextParagraph() ) )
{
// include contents of blockLimit elements.
- if( block.getName() in divLimitDefinition )
+ if ( block.getName() in divLimitDefinition )
{
var j, childNodes = block.getChildren();
@@ -165,5 +165,5 @@
{
// Bypass dtd disallowed elements.
- while( !dtd[ block.getName() ] && block.getName() != 'body' )
+ while ( !dtd[ block.getName() ] && block.getName() != 'body' )
block = block.getParent();
addSafely( containedBlocks, block, database );
@@ -177,5 +177,5 @@
var ancestor, blockEl, divElement;
- for( i = 0 ; i < blockGroups.length ; i++ )
+ for ( i = 0 ; i < blockGroups.length ; i++ )
{
var currentNode = blockGroups[ i ][ 0 ];
@@ -189,9 +189,9 @@
// Normalize the blocks in each group to a common parent.
- for( j = 0; j < blockGroups[ i ].length ; j++ )
+ for ( j = 0; j < blockGroups[ i ].length ; j++ )
{
currentNode = blockGroups[ i ][ j ];
- while( !currentNode.getParent().equals( ancestor ) )
+ while ( !currentNode.getParent().equals( ancestor ) )
currentNode = currentNode.getParent();
@@ -493,5 +493,5 @@
onOk : function()
{
- if( command == 'editdiv' )
+ if ( command == 'editdiv' )
containers = [ this._element ];
else
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/div/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/div/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/div/plugin.js (revision 5151)
@@ -48,5 +48,5 @@
{
range = ranges[ i ];
- if( range.collapsed )
+ if ( range.collapsed )
findDiv( selection.getStartElement() );
else
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/find/dialogs/find.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/find/dialogs/find.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/find/dialogs/find.js (revision 5151)
@@ -108,5 +108,5 @@
var currentTextNode = this.textNode;
// Already at the end of document, no more character available.
- if( currentTextNode === null )
+ if ( currentTextNode === null )
return cursorStep.call( this );
@@ -114,5 +114,5 @@
// There are more characters in the text node, step forward.
- if( currentTextNode
+ if ( currentTextNode
&& rtl
&& this.offset > 0 )
@@ -121,5 +121,5 @@
return cursorStep.call( this );
}
- else if( currentTextNode
+ else if ( currentTextNode
&& this.offset < currentTextNode.getLength() - 1 )
{
@@ -143,5 +143,5 @@
// Marking as match character boundaries.
- if( !currentTextNode
+ if ( !currentTextNode
&& checkCharactersBoundary( this._.walker.current ) )
this._.matchBoundary = true;
@@ -431,5 +431,5 @@
find : function( pattern, matchCase, matchWord, matchCyclic, highlightMatched, cyclicRerun )
{
- if( !this.matchRange )
+ if ( !this.matchRange )
this.matchRange =
new characterRange(
@@ -712,5 +712,5 @@
}
editor.fire( 'saveSnapshot' );
- while( finder.replace( dialog,
+ while ( finder.replace( dialog,
dialog.getValueOf( 'replace', 'txtFindReplace' ),
dialog.getValueOf( 'replace', 'txtReplace' ),
@@ -805,5 +805,5 @@
}
- if( isUserSelect )
+ if ( isUserSelect )
// synchronize fields on tab switch.
syncFieldsBetweenTabs.call( this, pageId );
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/floatpanel/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/floatpanel/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/floatpanel/plugin.js (revision 5151)
@@ -257,5 +257,5 @@
// Vertical off screen is simpler.
- if( top + panelSize.height > viewportSize.height + windowScroll.y )
+ if ( top + panelSize.height > viewportSize.height + windowScroll.y )
top -= panelSize.height;
@@ -360,9 +360,9 @@
var isLastInstance = CKEDITOR.tools.isEmpty( CKEDITOR.instances );
- for( var i in panels )
+ for ( var i in panels )
{
var panel = panels[ i ];
// Safe to destroy it since there're no more instances.(#4241)
- if( isLastInstance )
+ if ( isLastInstance )
panel.destroy();
// Panel might be used by other instances, just hide them.(#4552)
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/forms/dialogs/select.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/forms/dialogs/select.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/forms/dialogs/select.js (revision 5151)
@@ -74,5 +74,5 @@
{
combo = getSelect( combo );
- while( combo.getChild( 0 ) && combo.getChild( 0 ).remove() )
+ while ( combo.getChild( 0 ) && combo.getChild( 0 ).remove() )
{ /*jsl:pass*/ }
}
@@ -163,5 +163,5 @@
{
editor.insertElement(element);
- if( CKEDITOR.env.ie )
+ if ( CKEDITOR.env.ie )
{
var sel = editor.getSelection(),
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/forms/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/forms/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/forms/plugin.js (revision 5151)
@@ -167,5 +167,5 @@
{
// Cleanup certain IE form elements default values.
- if( CKEDITOR.env.ie )
+ if ( CKEDITOR.env.ie )
{
var dataProcessor = editor.dataProcessor,
@@ -180,5 +180,5 @@
var attrs = input.attributes,
type = attrs.type;
- if( type == 'checkbox' || type == 'radio' )
+ if ( type == 'checkbox' || type == 'radio' )
attrs.value == 'on' && delete attrs.value;
}
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/htmldataprocessor/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/htmldataprocessor/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/htmldataprocessor/plugin.js (revision 5151)
@@ -17,5 +17,5 @@
var lastIndex = block.children.length,
last = block.children[ lastIndex - 1 ];
- while( last && last.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.trim( last.value ) )
+ while ( last && last.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.trim( last.value ) )
last = block.children[ --lastIndex ];
return last;
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/image/dialogs/image.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/image/dialogs/image.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/image/dialogs/image.js (revision 5151)
@@ -86,5 +86,5 @@
function commitInternally( targetFields )
{
- if( incommit )
+ if ( incommit )
return;
@@ -93,5 +93,5 @@
var dialog = this.getDialog(),
element = dialog.imageElement;
- if( element )
+ if ( element )
{
// Commit this field and broadcast to target fields.
@@ -392,5 +392,5 @@
// Remove empty style attribute.
- if( !this.imageElement.getAttribute( 'style' ) )
+ if ( !this.imageElement.getAttribute( 'style' ) )
this.imageElement.removeAttribute( 'style' );
@@ -689,5 +689,5 @@
element.removeStyle( 'height' );
- if( !internalCommit && type == IMAGE )
+ if ( !internalCommit && type == IMAGE )
element.removeAttribute( 'height' );
}
@@ -826,5 +826,5 @@
}
- if( !internalCommit && type == IMAGE )
+ if ( !internalCommit && type == IMAGE )
element.removeAttribute( 'border' );
}
@@ -891,5 +891,5 @@
}
- if( !internalCommit && type == IMAGE )
+ if ( !internalCommit && type == IMAGE )
element.removeAttribute( 'hspace' );
}
@@ -954,5 +954,5 @@
}
- if( !internalCommit && type == IMAGE )
+ if ( !internalCommit && type == IMAGE )
element.removeAttribute( 'vspace' );
}
@@ -1020,5 +1020,5 @@
element.removeStyle( 'float' );
- if( !internalCommit && type == IMAGE )
+ if ( !internalCommit && type == IMAGE )
{
value = ( element.getAttribute( 'align' ) || '' ).toLowerCase();
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/indent/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/indent/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/indent/plugin.js (revision 5151)
@@ -160,5 +160,5 @@
for ( i = count - 1 ; i >= 0 ; i-- )
{
- if( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) )
+ if ( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) )
pendingLis.push( child );
}
@@ -178,5 +178,5 @@
// Nest preceding
/ inside current - if any.
- while( ( followingList = followingList.getNext() ) &&
+ while ( ( followingList = followingList.getNext() ) &&
followingList.is &&
followingList.getName() in listNodeNames )
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/link/dialogs/link.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/link/dialogs/link.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/link/dialogs/link.js (revision 5151)
@@ -118,5 +118,5 @@
href.replace( functionCallProtectedEmailLinkRegex, function( match, funcName, funcArgs )
{
- if( funcName == compiledProtectionFunction.name )
+ if ( funcName == compiledProtectionFunction.name )
{
retval.type = 'email';
@@ -142,5 +142,5 @@
}
- if( !retval.type )
+ if ( !retval.type )
{
if ( ( anchorMatch = href.match( anchorRegex ) ) )
@@ -239,5 +239,5 @@
anchors = retval.anchors = [];
- for( var i = 0; i < elements.count() ; i++ )
+ for ( var i = 0; i < elements.count() ; i++ )
{
var item = elements.getItem( i );
@@ -310,5 +310,5 @@
// Compile the protection function pattern.
- if( emailProtection && emailProtection != 'encode' )
+ if ( emailProtection && emailProtection != 'encode' )
{
var compiledProtectionFunction = {};
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/list/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/list/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/list/plugin.js (revision 5151)
@@ -571,5 +571,5 @@
tailNbspmatch;
- if( nodeBefore
+ if ( nodeBefore
&& ( nodeBefore.name && nodeBefore.name == 'br'
|| nodeBefore.value && ( tailNbspmatch = nodeBefore.value.match( tailNbspRegex ) ) ) )
@@ -595,9 +595,9 @@
var defaultListDataFilterRules = { elements : {} };
- for( var i in dtd.$listItem )
+ for ( var i in dtd.$listItem )
defaultListDataFilterRules.elements[ i ] = getExtendNestedListFilter();
var defaultListHtmlFilterRules = { elements : {} };
- for( i in dtd.$listItem )
+ for ( i in dtd.$listItem )
defaultListHtmlFilterRules.elements[ i ] = getExtendNestedListFilter( true );
@@ -632,5 +632,5 @@
{
var dataProcessor = editor.dataProcessor;
- if( dataProcessor )
+ if ( dataProcessor )
{
dataProcessor.dataFilter.addRules( defaultListDataFilterRules );
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/listblock/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/listblock/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/listblock/plugin.js (revision 5151)
@@ -231,5 +231,5 @@
i = -1;
- while( ( link = links.getItem( ++i ) ) )
+ while ( ( link = links.getItem( ++i ) ) )
{
if ( link.equals( selected ) )
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/pastefromword/filter/default.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/pastefromword/filter/default.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/pastefromword/filter/default.js (revision 5151)
@@ -26,5 +26,5 @@
{
child = children[ i ];
- if( !child.name )
+ if ( !child.name )
continue;
@@ -81,7 +81,7 @@
if ( typeof name == 'object' )
{
- for( var style in name )
- {
- if( name.hasOwnProperty( style ) )
+ for ( var style in name )
+ {
+ if ( name.hasOwnProperty( style ) )
addingStyleText += style + ':' + name[ style ] + ';';
}
@@ -94,5 +94,5 @@
}
- if( !this.attributes )
+ if ( !this.attributes )
this.attributes = {};
@@ -187,5 +187,5 @@
{
var styleText = element.attributes && element.attributes.style;
- if( /mso-list\s*:\s*Ignore/i.test( styleText ) )
+ if ( /mso-list\s*:\s*Ignore/i.test( styleText ) )
return true;
},
@@ -258,5 +258,5 @@
return function( cssLength )
{
- if( cssLengthRelativeUnit.test( cssLength ) )
+ if ( cssLengthRelativeUnit.test( cssLength ) )
{
calculator.setStyle( 'width', cssLength );
@@ -329,5 +329,5 @@
var attributes = child.attributes;
- if( child.name in CKEDITOR.dtd.$listItem )
+ if ( child.name in CKEDITOR.dtd.$listItem )
{
var listItemChildren = child.children,
@@ -336,5 +336,5 @@
// Move out nested list.
- if( last.name in CKEDITOR.dtd.$list )
+ if ( last.name in CKEDITOR.dtd.$list )
{
children.splice( i + 1, 0, last );
@@ -422,5 +422,5 @@
var diff = indent - listItemIndent,
parent;
- while( diff-- && ( parent = list.parent ) )
+ while ( diff-- && ( parent = list.parent ) )
list = parent.parent;
@@ -478,7 +478,7 @@
newValue,
newName;
- for( var i = 0 ; i < styles.length; i++ )
+ for ( var i = 0 ; i < styles.length; i++ )
{
- if( styles[ i ] )
+ if ( styles[ i ] )
{
namePattern = styles[ i ][ 0 ];
@@ -493,13 +493,13 @@
whitelist && ( newValue = newValue || value );
- if( typeof newValue == 'function' )
+ if ( typeof newValue == 'function' )
newValue = newValue( value, element, name );
// Return an couple indicate both name and value
// changed.
- if( newValue && newValue.push )
+ if ( newValue && newValue.push )
name = newValue[ 0 ], newValue = newValue[ 1 ];
- if( typeof newValue == 'string' )
+ if ( typeof newValue == 'string' )
rules.push( [ name, newValue ] );
return;
@@ -568,5 +568,5 @@
bogusAttrFilter : function( value, element )
{
- if( element.name.indexOf( 'cke:' ) == -1 )
+ if ( element.name.indexOf( 'cke:' ) == -1 )
return false;
},
@@ -646,5 +646,5 @@
element.filterChildren();
// Is the heading actually a list item?
- if( resolveListItem( element ) )
+ if ( resolveListItem( element ) )
return;
@@ -721,10 +721,10 @@
// Reject MS-Word Normal styles.
- if( className.match( /MsoNormal/ ) )
+ if ( className.match( /MsoNormal/ ) )
return;
- if( !rules[ tagName ] )
+ if ( !rules[ tagName ] )
rules[ tagName ] = {};
- if( className )
+ if ( className )
rules[ tagName ][ className ] = styleBlock;
else
@@ -739,8 +739,8 @@
className = element.attributes && element.attributes[ 'class' ],
style;
- if( name in rules )
+ if ( name in rules )
{
style = rules[ name ];
- if( typeof style == 'object' )
+ if ( typeof style == 'object' )
style = style[ className ];
// Maintain style rules priorities.
@@ -783,5 +783,5 @@
// Instead we use a clear-float div after the table to properly achieve the same layout.
var singleChild = element.onlyChild();
- if( singleChild && singleChild.name == 'table' )
+ if ( singleChild && singleChild.name == 'table' )
{
var attrs = element.attributes;
@@ -925,5 +925,5 @@
{
var attrs = element.attributes;
- if( attrs && !attrs.href && attrs.name )
+ if ( attrs && !attrs.href && attrs.name )
delete element.name;
},
@@ -984,5 +984,5 @@
function( value, element )
{
- if( element.name == 'img' )
+ if ( element.name == 'img' )
return value;
} ],
@@ -991,5 +991,5 @@
function( value, element )
{
- if( element.name in { table : 1, td : 1, th : 1, img : 1 } )
+ if ( element.name in { table : 1, td : 1, th : 1, img : 1 } )
return value;
} ]
@@ -1001,7 +1001,7 @@
[ ( /-color$/ ), null, function( value )
{
- if( value == 'transparent' )
+ if ( value == 'transparent' )
return false;
- if( CKEDITOR.env.gecko )
+ if ( CKEDITOR.env.gecko )
return value.replace( /-moz-use-text-color/g, 'transparent' );
} ],
@@ -1018,5 +1018,5 @@
'width' : function( value, element )
{
- if( element.name in dtd.$tableContent )
+ if ( element.name in dtd.$tableContent )
return false;
},
@@ -1024,5 +1024,5 @@
'border' : function( value, element )
{
- if( element.name in dtd.$tableContent )
+ if ( element.name in dtd.$tableContent )
return false;
},
@@ -1065,5 +1065,5 @@
// Reveal the element in conditional comments for Firefox.
- if( CKEDITOR.env.gecko && imageInfo )
+ if ( CKEDITOR.env.gecko && imageInfo )
{
var img = CKEDITOR.htmlParser.fragment.fromHtml( imageInfo[ 0 ] ).children[ 0 ],
@@ -1108,5 +1108,5 @@
// comments, fixing them first( convert it to upperlevel-revealed one ).
// e.g. ...
- if( CKEDITOR.env.gecko )
+ if ( CKEDITOR.env.gecko )
data = data.replace( /(([\S\s]*?))/gi, '$1$2$3' );
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/pastefromword/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/pastefromword/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/pastefromword/plugin.js (revision 5151)
@@ -28,5 +28,5 @@
{
forceFromWord = 1;
- if( editor.execCommand( 'paste' ) === false )
+ if ( editor.execCommand( 'paste' ) === false )
{
editor.on( 'dialogHide', function ( evt )
@@ -60,5 +60,5 @@
if ( isLazyLoad )
editor.fire( 'paste', data );
- else if( !editor.config.pasteFromWordPromptCleanup
+ else if ( !editor.config.pasteFromWordPromptCleanup
|| ( forceFromWord || confirm( editor.lang.pastefromword.confirmCleanup ) ) )
{
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/pastetext/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/pastetext/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/pastetext/plugin.js (revision 5151)
@@ -58,5 +58,5 @@
{
// Native text insertion.
- if( CKEDITOR.env.ie )
+ if ( CKEDITOR.env.ie )
{
var selection = doc.selection;
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/scayt/dialogs/options.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/scayt/dialogs/options.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/scayt/dialogs/options.js (revision 5151)
@@ -31,14 +31,14 @@
function setCheckedValue(radioObj, newValue) {
- if(!radioObj)
+ if (!radioObj)
return;
var radioLength = radioObj.length;
- if(radioLength == undefined) {
+ if (radioLength == undefined) {
radioObj.checked = (radioObj.value == newValue.toString());
return;
}
- for(var i = 0; i < radioLength; i++) {
+ for (var i = 0; i < radioLength; i++) {
radioObj[i].checked = false;
- if(radioObj[i].value == newValue.toString()) {
+ if (radioObj[i].value == newValue.toString()) {
radioObj[i].checked = true;
}
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/selection/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/selection/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/selection/plugin.js (revision 5151)
@@ -150,5 +150,5 @@
&& savedRange.parentElement();
- if( !( parent && parent.tagName.toLowerCase() in CKEDITOR.dtd.$tableContent ) )
+ if ( !( parent && parent.tagName.toLowerCase() in CKEDITOR.dtd.$tableContent ) )
editor.document.$.selection.empty();
}
@@ -656,5 +656,5 @@
// selected node on the start which doesn't have
// visual impact. ( #3231 )
- while( true )
+ while ( true )
{
var startContainer = range.startContainer,
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/showborders/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/showborders/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/showborders/plugin.js (revision 5151)
@@ -111,5 +111,5 @@
}
- if( htmlFilter )
+ if ( htmlFilter )
{
htmlFilter.addRules(
@@ -134,5 +134,5 @@
CKEDITOR.on( 'dialogDefinition', function( ev )
{
- if( ev.editor != editor )
+ if ( ev.editor != editor )
return;
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/specialchar/dialogs/specialchar.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/specialchar/dialogs/specialchar.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/specialchar/dialogs/specialchar.js (revision 5151)
@@ -246,5 +246,5 @@
html.push( '
' ) ;
- for( var j = 0 ; j < columns ; j++, i++ )
+ for ( var j = 0 ; j < columns ; j++, i++ )
{
if ( ( character = chars[ i ] ) )
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/styles/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/styles/plugin.js (revision 5151)
@@ -210,5 +210,5 @@
return false;
}
- if( fullMatch )
+ if ( fullMatch )
return true;
}
@@ -581,5 +581,5 @@
break;
// Avoid copying any matched element.
- else if( newElement.match )
+ else if ( newElement.match )
continue;
else
@@ -651,5 +651,5 @@
{
// Remove style from element or overriding element.
- if( currentNode.getName() == this.element )
+ if ( currentNode.getName() == this.element )
removeFromElement( this, currentNode );
else
@@ -688,5 +688,5 @@
var previousPreBlock;
- while( ( block = iterator.getNextParagraph() ) ) // Only one =
+ while ( ( block = iterator.getNextParagraph() ) ) // Only one =
{
var newBlock = getElement( this, doc );
@@ -896,5 +896,5 @@
// Now remove override styles on the element.
attributes = overrides[ element.getName() ];
- if( attributes )
+ if ( attributes )
removeAttrs();
removeNoAttribsElement( element );
@@ -1132,5 +1132,5 @@
function getOverrides( style )
{
- if( style._.overrides )
+ if ( style._.overrides )
return style._.overrides;
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/tab/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/tab/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/tab/plugin.js (revision 5151)
@@ -100,5 +100,5 @@
element = this.getNextSourceNode( ignoreChildren, CKEDITOR.NODE_ELEMENT );
- while( element )
+ while ( element )
{
if ( element.isVisible() && element.getTabIndex() === 0 )
@@ -121,5 +121,5 @@
element = this.getDocument().getBody().getFirst();
- while( ( element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
+ while ( ( element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
{
if ( !passedCurrent )
@@ -184,5 +184,5 @@
var element = this.getDocument().getBody().getLast();
- while( ( element = element.getPreviousSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
+ while ( ( element = element.getPreviousSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
{
if ( !passedCurrent )
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/table/dialogs/table.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/table/dialogs/table.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/table/dialogs/table.js (revision 5151)
@@ -155,5 +155,5 @@
if ( !this.hasColumnHeaders && ( headers == 'col' || headers == 'both' ) )
{
- for( row = 0 ; row < table.$.rows.length ; row++ )
+ for ( row = 0 ; row < table.$.rows.length ; row++ )
{
newCell = new CKEDITOR.dom.element( table.$.rows[ row ].cells[ 0 ] );
@@ -166,5 +166,5 @@
if ( ( this.hasColumnHeaders ) && !( headers == 'col' || headers == 'both' ) )
{
- for( i = 0 ; i < table.$.rows.length ; i++ )
+ for ( i = 0 ; i < table.$.rows.length ; i++ )
{
row = new CKEDITOR.dom.element( table.$.rows[i] );
@@ -193,5 +193,5 @@
table.removeStyle( 'width' );
- if( !table.getAttribute( 'style' ) )
+ if ( !table.getAttribute( 'style' ) )
table.removeAttribute( 'style' );
}
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/tabletools/dialogs/tableCell.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/tabletools/dialogs/tableCell.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/tabletools/dialogs/tableCell.js (revision 5151)
@@ -365,5 +365,5 @@
{
var attrVal = parseInt( selectedCell.getAttribute( 'rowSpan' ), 10 );
- if( attrVal && attrVal != 1 )
+ if ( attrVal && attrVal != 1 )
this.setValue( attrVal );
},
@@ -388,5 +388,5 @@
{
var attrVal = parseInt( element.getAttribute( 'colSpan' ), 10 );
- if( attrVal && attrVal != 1 )
+ if ( attrVal && attrVal != 1 )
this.setValue( attrVal );
},
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/tabletools/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/tabletools/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/tabletools/plugin.js (revision 5151)
@@ -357,5 +357,5 @@
{
var oRow = tableMap[ rowIndex ];
- if( typeof cell == 'undefined' )
+ if ( typeof cell == 'undefined' )
return oRow;
@@ -364,5 +364,5 @@
if ( cell.is && oRow[c] == cell.$ )
return c;
- else if( c == cell )
+ else if ( c == cell )
return new CKEDITOR.dom.element( oRow[ c ] );
}
@@ -376,9 +376,9 @@
{
var row = tableMap[ r ];
- if( typeof cell == 'undefined' )
+ if ( typeof cell == 'undefined' )
oCol.push( row[ colIndex ] );
- else if( cell.is && row[ colIndex ] == cell.$ )
+ else if ( cell.is && row[ colIndex ] == cell.$ )
return r;
- else if( r == cell )
+ else if ( r == cell )
return new CKEDITOR.dom.element( row[ colIndex ] );
}
@@ -413,5 +413,5 @@
startColumn = cellInRow( map, startRow, firstCell );
- if( mergeDirection )
+ if ( mergeDirection )
{
var targetCell;
@@ -434,5 +434,5 @@
// 1. No cell could be merged.
// 2. Same cell actually.
- if( !targetCell || firstCell.$ == targetCell )
+ if ( !targetCell || firstCell.$ == targetCell )
return false;
@@ -471,8 +471,8 @@
{
// Trim all cell fillers and check to remove empty cells.
- if( trimCell( cell ), cell.getChildren().count() )
+ if ( trimCell( cell ), cell.getChildren().count() )
{
// Merge vertically cells as two separated paragraphs.
- if( rowIndex != lastRowIndex
+ if ( rowIndex != lastRowIndex
&& cellFirstChild
&& !( cellFirstChild.isBlockBoundary
@@ -480,5 +480,5 @@
{
var last = frag.getLast( CKEDITOR.dom.walker.whitespaces( true ) );
- if( last && !( last.is && last.is( 'br' ) ) )
+ if ( last && !( last.is && last.is( 'br' ) ) )
frag.append( new CKEDITOR.dom.element( 'br' ) );
}
@@ -495,13 +495,13 @@
frag.moveChildren( firstCell );
- if( !CKEDITOR.env.ie )
+ if ( !CKEDITOR.env.ie )
firstCell.appendBogus();
- if( totalColSpan >= mapWidth )
+ if ( totalColSpan >= mapWidth )
firstCell.removeAttribute( 'rowSpan' );
else
firstCell.$.rowSpan = totalRowSpan;
- if( totalRowSpan >= mapHeight )
+ if ( totalRowSpan >= mapHeight )
firstCell.removeAttribute( 'colSpan' );
else
@@ -515,5 +515,5 @@
{
var tailTr = trs.getItem( i );
- if( !tailTr.$.cells.length )
+ if ( !tailTr.$.cells.length )
{
tailTr.remove();
@@ -534,7 +534,7 @@
{
var cells = getSelectedCells( selection );
- if( cells.length > 1 )
+ if ( cells.length > 1 )
return false;
- else if( isDetect )
+ else if ( isDetect )
return true;
@@ -551,5 +551,5 @@
newRowIndex;
- if( rowSpan > 1 )
+ if ( rowSpan > 1 )
{
newRowSpan = Math.ceil( rowSpan / 2 );
@@ -567,5 +567,5 @@
candidateCell = newCellRow[ c ];
// Catch first cell actually following the column.
- if( candidateCell.parentNode == newCellTr.$
+ if ( candidateCell.parentNode == newCellTr.$
&& c > colIndex )
{
@@ -578,5 +578,5 @@
// The destination row is empty, append at will.
- if( !candidateCell )
+ if ( !candidateCell )
newCellTr.append( newCell, true );
}
@@ -594,12 +594,12 @@
}
- if( !CKEDITOR.env.ie )
+ if ( !CKEDITOR.env.ie )
newCell.appendBogus();
cell.$.rowSpan = newRowSpan;
newCell.$.rowSpan = newCellRowSpan;
- if( newRowSpan == 1 )
+ if ( newRowSpan == 1 )
cell.removeAttribute( 'rowSpan' );
- if( newCellRowSpan == 1 )
+ if ( newCellRowSpan == 1 )
newCell.removeAttribute( 'rowSpan' );
@@ -610,7 +610,7 @@
{
var cells = getSelectedCells( selection );
- if( cells.length > 1 )
+ if ( cells.length > 1 )
return false;
- else if( isDetect )
+ else if ( isDetect )
return true;
@@ -626,5 +626,5 @@
newCellColSpan;
- if( colSpan > 1 )
+ if ( colSpan > 1 )
{
newColSpan = Math.ceil( colSpan / 2 );
@@ -640,12 +640,12 @@
newCell = cell.clone();
newCell.insertAfter( cell );
- if( !CKEDITOR.env.ie )
+ if ( !CKEDITOR.env.ie )
newCell.appendBogus();
cell.$.colSpan = newColSpan;
newCell.$.colSpan = newCellColSpan;
- if( newColSpan == 1 )
+ if ( newColSpan == 1 )
cell.removeAttribute( 'colSpan' );
- if( newCellColSpan == 1 )
+ if ( newCellColSpan == 1 )
newCell.removeAttribute( 'colSpan' );
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/undo/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/undo/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/undo/plugin.js (revision 5151)
@@ -142,5 +142,5 @@
// For IE6/7 : Comparing only the protected attribute values but not the original ones.(#4522)
- if( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+ if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
{
thisContents = thisContents.replace( protectedAttrs, '' );
@@ -148,5 +148,5 @@
}
- if( thisContents != otherContents )
+ if ( thisContents != otherContents )
return false;
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/wsc/dialogs/ciframe.html
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/wsc/dialogs/ciframe.html (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/wsc/dialogs/ciframe.html (revision 5151)
@@ -17,5 +17,5 @@
var results = regex.exec( window.location.href ) ;
- if( results )
+ if ( results )
return results[ 1 ] ;
else
Index: /CKEditor/branches/versions/3.2.x/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/plugins/wysiwygarea/plugin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/plugins/wysiwygarea/plugin.js (revision 5151)
@@ -90,5 +90,5 @@
if ( isBlock )
{
- while( ( current = range.getCommonAncestor( false, true ) )
+ while ( ( current = range.getCommonAncestor( false, true ) )
&& ( dtd = CKEDITOR.dtd[ current.getName() ] )
&& !( dtd && dtd [ elementName ] ) )
@@ -144,5 +144,5 @@
function restoreDirty( editor )
{
- if( !editor.checkDirty() )
+ if ( !editor.checkDirty() )
setTimeout( function(){ editor.resetDirty(); } );
}
@@ -196,5 +196,5 @@
// If the fixed block is blank and already followed by a exitable
// block, we should revert the fix. (#3684)
- if( fixedBlock.getOuterHtml().match( emptyParagraphRegexp ) )
+ if ( fixedBlock.getOuterHtml().match( emptyParagraphRegexp ) )
{
var previousElement = fixedBlock.getPrevious( isNotWhitespace ),
@@ -215,5 +215,5 @@
range.select();
// Notify non-IE that selection has changed.
- if( !CKEDITOR.env.ie )
+ if ( !CKEDITOR.env.ie )
editor.selectionChange();
}
@@ -226,5 +226,5 @@
{
restoreDirty( editor );
- if( !CKEDITOR.env.ie )
+ if ( !CKEDITOR.env.ie )
body.appendBogus();
else
@@ -387,5 +387,5 @@
// IE standard compliant in editing frame doesn't focus the editor when
// clicking outside actual content, manually apply the focus. (#1659)
- if( CKEDITOR.env.ie
+ if ( CKEDITOR.env.ie
&& domDocument.$.compatMode == 'CSS1Compat' )
{
@@ -416,8 +416,8 @@
{
var first = body;
- while( first.firstChild )
+ while ( first.firstChild )
first = first.firstChild;
- if( !first.nextSibling
+ if ( !first.nextSibling
&& ( 'BR' == first.tagName )
&& first.hasAttribute( '_moz_editor_bogus_node' ) )
@@ -479,10 +479,10 @@
// PageUp/PageDown scrolling is broken in document
// with standard doctype, manually fix it. (#4736)
- if( domDocument.$.compatMode == 'CSS1Compat' )
+ if ( domDocument.$.compatMode == 'CSS1Compat' )
{
var pageUpDownKeys = { 33 : 1, 34 : 1 };
domDocument.on( 'keydown', function( evt )
{
- if( evt.data.getKeystroke() in pageUpDownKeys )
+ if ( evt.data.getKeystroke() in pageUpDownKeys )
{
setTimeout( function ()
@@ -742,5 +742,5 @@
// Create an invisible element to grab focus.
- if( CKEDITOR.env.ie )
+ if ( CKEDITOR.env.ie )
{
var ieFocusGrabber;
@@ -761,5 +761,5 @@
// Fixing Firefox 'Back-Forward Cache' break design mode. (#4514)
- if( CKEDITOR.env.gecko )
+ if ( CKEDITOR.env.gecko )
{
( function ()
@@ -767,5 +767,5 @@
var body = document.body;
- if( !body )
+ if ( !body )
window.addEventListener( 'load', arguments.callee, false );
else
@@ -778,9 +778,9 @@
editor,
doc;
- for( var i in allInstances )
+ for ( var i in allInstances )
{
editor = allInstances[ i ];
doc = editor.document;
- if( doc )
+ if ( doc )
{
doc.$.designMode = 'off';
Index: /CKEditor/branches/versions/3.2.x/_source/skins/kama/skin.js
===================================================================
--- /CKEditor/branches/versions/3.2.x/_source/skins/kama/skin.js (revision 5150)
+++ /CKEditor/branches/versions/3.2.x/_source/skins/kama/skin.js (revision 5151)
@@ -94,5 +94,5 @@
{
var node = document.getById( uiColorStylesheetId );
- if( !node )
+ if ( !node )
{
node = document.getHead().append( 'style' );