File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,14 @@ function assertSrcContents() {
143143 logs . push ( file + ' : contains .' + lastPart + ' (IE failure)' ) ;
144144 }
145145 else if ( IE_SVG_BLACK_LIST . indexOf ( lastPart ) !== - 1 ) {
146- logs . push ( file + ' : contains .' + lastPart + ' (IE failure in SVG)' ) ;
146+ // add special case for sunburst where we use 'children'
147+ // off the d3-hierarchy output
148+ var dirParts = path . dirname ( file ) . split ( path . sep ) ;
149+ var isSunburstFile = dirParts [ dirParts . length - 1 ] === 'sunburst' ;
150+ var isLinkedToObject = [ 'pt' , 'd' ] . indexOf ( parts [ parts . length - 2 ] ) !== - 1 ;
151+ if ( ! ( isSunburstFile && isLinkedToObject ) ) {
152+ logs . push ( file + ' : contains .' + lastPart + ' (IE failure in SVG)' ) ;
153+ }
147154 }
148155 else if ( FF_BLACK_LIST . indexOf ( lastPart ) !== - 1 ) {
149156 logs . push ( file + ' : contains .' + lastPart + ' (FF failure)' ) ;
You can’t perform that action at this time.
0 commit comments