소스 검색

Fixed wrong check for function in extend().

fredck 11 년 전
부모
커밋
c737310129
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-engine/src/utils.js

+ 1 - 1
packages/ckeditor5-engine/src/utils.js

@@ -23,7 +23,7 @@ CKEDITOR.define( function() {
 		 * @returns {Object} The `target` object.
 		 */
 		extend: function( target, source ) {
-			if ( !this.isObject( source ) && !this.isFunction( source ) ) {
+			if ( !this.isObject( source ) ) {
 				return target;
 			}