File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,12 @@ function assertJasmineSuites() {
92
92
93
93
/*
94
94
* tests about the contents of source (and lib) files:
95
- * - check for header comment
96
95
* - check that we don't have any features that break in IE
97
96
* - check that we don't use getComputedStyle unexpectedly
98
97
* - check that require statements use lowercase (to match assertFileNames)
99
98
* or match the case of the source file
100
99
*/
101
100
function assertSrcContents ( ) {
102
- var licenseSrc = constants . licenseSrc ;
103
- var licenseStr = licenseSrc . substring ( 2 , licenseSrc . length - 2 ) ;
104
101
var logs = [ ] ;
105
102
106
103
// These are forbidden in IE *only in SVG* but since
@@ -174,17 +171,6 @@ function assertSrcContents() {
174
171
}
175
172
}
176
173
} ) ;
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
- }
188
174
} ) ;
189
175
190
176
/*
You can’t perform that action at this time.
0 commit comments