Browse Source

Removed `Promise` from the globals list of jshint so errors are thrown when it is used.

fredck 10 năm trước cách đây
mục cha
commit
a653cb4c3b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/ckeditor5-ui/gruntfile.js

+ 1 - 0
packages/ckeditor5-ui/gruntfile.js

@@ -36,6 +36,7 @@ module.exports = function( grunt ) {
 					'CKEDITOR': false,
 					'bender': false
 				},
+				predef: [ '-Promise' ],
 				ignores: ignoreFiles
 			}
 		},