Parcourir la source

Fixed a wrong object check in tests.

fredck il y a 11 ans
Parent
commit
0c63b0a5dd
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 )
 	};
 } );