浏览代码

Fixed: Turn JSHint browser setting to false.

Szymon Cofalik 9 年之前
父节点
当前提交
e2b30fb460

+ 0 - 1
packages/ckeditor5-core/.jshintrc

@@ -1,5 +1,4 @@
 {
-  "browser": true,
   "esnext": true,
   "immed": true,
   "loopfunc": true,

+ 0 - 1
packages/ckeditor5-core/tests/.jshintrc

@@ -1,5 +1,4 @@
 {
-  "browser": true,
   "esnext": true,
   "expr": true,
   "immed": true,

+ 2 - 0
packages/ckeditor5-core/tests/_utils-tests/classictesteditor.js

@@ -3,6 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
+/* globals document */
+
 import StandardEditor from '/ckeditor5/core/editor/standardeditor.js';
 import ClassicTestEditor from '/tests/core/_utils/classictesteditor.js';
 import HtmlDataProcessor from '/ckeditor5/engine/dataprocessor/htmldataprocessor.js';

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/module__amd.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-/* global require, bender */
+/* globals require, bender, window */
 
 import testUtils from '/tests/core/_utils/utils.js';
 import moduleTestUtils from '/tests/core/_utils/module.js';

+ 1 - 0
packages/ckeditor5-core/tests/editor/editor.js

@@ -3,6 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
+/* globals setTimeout */
 /* bender-tags: editor, browser-only */
 
 import moduleUtils from '/tests/core/_utils/module.js';

+ 1 - 0
packages/ckeditor5-core/tests/editor/standardeditor.js

@@ -3,6 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
+/* globals document */
 /* bender-tags: editor, browser-only */
 
 import StandardEditor from '/ckeditor5/core/editor/standardeditor.js';