Browse Source

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

fredck 10 years ago
parent
commit
a653cb4c3b
1 changed files with 1 additions and 0 deletions
  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
 			}
 		},