Kaynağa Gözat

Fixed a wrong object check in tests.

fredck 11 yıl önce
ebeveyn
işleme
0c63b0a5dd
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      tests/amd/amd.js

+ 2 - 2
tests/amd/amd.js

@@ -7,9 +7,9 @@
 
 'use strict';
 
-CKEDITOR.define( 'testModule', [ 'ckeditor' ], function( ckeditor ) {
+CKEDITOR.define( 'testModule', [ 'ckeditor', 'utils' ], function( ckeditor, utils ) {
 	return {
-		test: ( typeof ckeditor == 'object' )
+		test: utils.isObject( ckeditor )
 	};
 } );