File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,12 @@ function assertJasmineSuites() {
9292
9393/*
9494 * tests about the contents of source (and lib) files:
95- * - check for header comment
9695 * - check that we don't have any features that break in IE
9796 * - check that we don't use getComputedStyle unexpectedly
9897 * - check that require statements use lowercase (to match assertFileNames)
9998 * or match the case of the source file
10099 */
101100function assertSrcContents ( ) {
102- var licenseSrc = constants . licenseSrc ;
103- var licenseStr = licenseSrc . substring ( 2 , licenseSrc . length - 2 ) ;
104101 var logs = [ ] ;
105102
106103 // These are forbidden in IE *only in SVG* but since
@@ -174,17 +171,6 @@ function assertSrcContents() {
174171 }
175172 }
176173 } ) ;
177-
178- var header = comments [ 0 ] ;
179-
180- if ( ! header || header . loc . start . line > 1 ) {
181- logs . push ( file + ' : has no header information.' ) ;
182- return ;
183- }
184-
185- if ( header . value !== licenseStr ) {
186- logs . push ( file + ' : has incorrect header information.' ) ;
187- }
188174 } ) ;
189175
190176 /*
You can’t perform that action at this time.
0 commit comments