瀏覽代碼

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

fredck 10 年之前
父節點
當前提交
3e5f83bb54
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/ckeditor5-utils/gruntfile.js

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

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