* Calls `setupSelectors_` in a try-catch. * Fails quietly with a dev error if call fails. * This method should not be inlined to prevent TryCatch deoptimization. * @param {!Node} root * @param {boolean=} opt_lightboxMode * @private
(root, opt_lightboxMode)
| 564 | * @private |
| 565 | */ |
| 566 | trySetupSelectors_(root, opt_lightboxMode) { |
| 567 | try { |
| 568 | this.setupSelectors_(root, opt_lightboxMode); |
| 569 | } catch (e) { |
| 570 | // Fail quietly. |
| 571 | dev().error(TAG, 'Failed to setup fixed elements:', e); |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | /** |
| 576 | * Calls `setupElement_` for up to 10 elements matching each selector |
no test coverage detected