소스 검색

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

fredck 10 년 전
부모
커밋
a653cb4c3b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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
 			}
 		},