Переглянути джерело

Fixed wrong check for function in extend().

fredck 11 роки тому
батько
коміт
531d801785
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      packages/ckeditor5-utils/src/utils.js

+ 1 - 1
packages/ckeditor5-utils/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;
 			}