8
0
Pārlūkot izejas kodu

Fixed a wrong object check in tests.

fredck 11 gadi atpakaļ
vecāks
revīzija
0c63b0a5dd
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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 )
 	};
 } );