Index: /CKEditor/trunk/_source/core/ckeditor_base.js
===================================================================
--- /CKEditor/trunk/_source/core/ckeditor_base.js	(revision 5334)
+++ /CKEditor/trunk/_source/core/ckeditor_base.js	(revision 5335)
@@ -137,6 +137,6 @@
 				}
 
-				if( !path )
-						throw 'The CKEditor installation path could not be automatically detected. Please set the global variable "CKEDITOR_BASEPATH" before creating editor instances.'
+				if ( !path )
+						throw 'The CKEditor installation path could not be automatically detected. Please set the global variable "CKEDITOR_BASEPATH" before creating editor instances.';
 
 				return path;
Index: /CKEditor/trunk/_source/core/dom/domobject.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/domobject.js	(revision 5334)
+++ /CKEditor/trunk/_source/core/dom/domobject.js	(revision 5335)
@@ -126,5 +126,5 @@
 		{
 			var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
-			for ( eventName in nativeListeners)
+			for ( var eventName in nativeListeners )
 			{
 				var listener = nativeListeners[ eventName ];
Index: /CKEditor/trunk/_source/core/dom/range.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/range.js	(revision 5334)
+++ /CKEditor/trunk/_source/core/dom/range.js	(revision 5335)
@@ -1309,4 +1309,6 @@
 					if ( !movingOut && node.type == CKEDITOR.NODE_ELEMENT )
 						currentElement = node;
+					
+					return true;
 				};
 
Index: /CKEditor/trunk/_source/core/editor.js
===================================================================
--- /CKEditor/trunk/_source/core/editor.js	(revision 5334)
+++ /CKEditor/trunk/_source/core/editor.js	(revision 5335)
@@ -506,5 +506,5 @@
 				CKEDITOR.tools.removeFunction( this._.filebrowserFn );
 
-			items = editor.config.elementsPath_filters;
+			items = this.config.elementsPath_filters;
 			if ( items )
 			{
Index: /CKEditor/trunk/_source/plugins/resize/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/resize/plugin.js	(revision 5334)
+++ /CKEditor/trunk/_source/plugins/resize/plugin.js	(revision 5335)
@@ -54,7 +54,7 @@
 						editor.document.on( 'mouseup', dragEndHandler );
 					}
-				} );
+				});
 
-			editor.on( 'destroy', function() { CKEDITOR.tools.removeFunction( mouseDownFn ) } );
+			editor.on( 'destroy', function() { CKEDITOR.tools.removeFunction( mouseDownFn ); } );
 
 			editor.on( 'themeSpace', function( event )
Index: /CKEditor/trunk/_source/plugins/scayt/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/scayt/plugin.js	(revision 5334)
+++ /CKEditor/trunk/_source/plugins/scayt/plugin.js	(revision 5335)
@@ -235,9 +235,10 @@
 			// SCAYT doesn't work with Opera.
 			if ( CKEDITOR.env.opera )
-				return;
+				return null;
+
 			if ( this.engineLoaded === true )
 				return onEngineLoad.apply( editor );	// Add new instance.
 			else if ( this.engineLoaded == -1 )			// We are waiting.
-				return CKEDITOR.on( 'scaytReady', function(){ onEngineLoad.apply( editor );} );	// Use function(){} to avoid rejection as duplicate.
+				return CKEDITOR.on( 'scaytReady', function(){ onEngineLoad.apply( editor ); } );	// Use function(){} to avoid rejection as duplicate.
 
 			CKEDITOR.on( 'scaytReady', onEngineLoad, editor );
@@ -624,5 +625,5 @@
 			// Prevent word marker line from displaying in elements path. (#3570)
 			var elementsPathFilters;
-			if ( elementsPathFilters = editor.config.elementsPath_filters )
+			if ( ( elementsPathFilters = editor.config.elementsPath_filters ) )
 			{
 				elementsPathFilters.push( function( element )
Index: /CKEditor/trunk/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 5334)
+++ /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 5335)
@@ -218,9 +218,11 @@
 				case CKEDITOR.STYLE_INLINE :
 				case CKEDITOR.STYLE_BLOCK :
-					return true;
+					break;
 
 				case CKEDITOR.STYLE_OBJECT :
 					return elementPath.lastElement.getAscendant( this.element, true );
 			}
+
+			return true;
 		},
 
Index: /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 5334)
+++ /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 5335)
@@ -171,6 +171,4 @@
 	}
 
-	var isNotWhitespace = CKEDITOR.dom.walker.whitespaces( true );
-
 	/**
 	 *  Auto-fixing block-less content by wrapping paragraph (#3190), prevent
