(options)
| 22 | }); |
| 23 | |
| 24 | var Multiple = function(options) { |
| 25 | if( ! (this instanceof Multiple)) return new Multiple(options); |
| 26 | |
| 27 | ['selector', 'background', 'affectText', 'opacity'].forEach(function(option) { |
| 28 | this[option] = options[option]; |
| 29 | }.bind(this)); |
| 30 | |
| 31 | this.className = 'multiple-' + (isMobile ? 'mobile' : 'desktop') + (this.affectText ? '-text' : ''); |
| 32 | this.update(this.background); |
| 33 | } |
| 34 | |
| 35 | Multiple.prototype = { |
| 36 | constructor: Multiple, |
nothing calls this directly
no outgoing calls
no test coverage detected