( element )
| 1 | (function(){ |
| 2 | |
| 3 | function VerticalTimeline( element ) { |
| 4 | this.element = element; |
| 5 | this.blocks = this.element.getElementsByClassName("cd-timeline__block"); |
| 6 | this.images = this.element.getElementsByClassName("cd-timeline__img"); |
| 7 | this.contents = this.element.getElementsByClassName("cd-timeline__content"); |
| 8 | this.offset = 0.8; |
| 9 | this.hideBlocks(); |
| 10 | }; |
| 11 | |
| 12 | VerticalTimeline.prototype.hideBlocks = function() { |
| 13 | if ( !"classList" in document.documentElement ) { |
nothing calls this directly
no outgoing calls
no test coverage detected