| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- (function () {
- 'use strict';
- const noopfn = () => {
- // noop
- };
- const obr = {};
- const methods = [
- 'callClick',
- 'callLoadMore',
- 'callRecs',
- 'callUserZapping',
- 'callWhatIs',
- 'cancelRecommendation',
- 'cancelRecs',
- 'closeCard',
- 'closeModal',
- 'closeTbx',
- 'errorInjectionHandler',
- 'getCountOfRecs',
- 'getStat',
- 'imageError',
- 'manualVideoClicked',
- 'onOdbReturn',
- 'onVideoClick',
- 'pagerLoad',
- 'recClicked',
- 'refreshSpecificWidget',
- 'renderSpaWidgets',
- 'refreshWidget',
- 'reloadWidget',
- 'researchWidget',
- 'returnedError',
- 'returnedHtmlData',
- 'returnedIrdData',
- 'returnedJsonData',
- 'scrollLoad',
- 'showDescription',
- 'showRecInIframe',
- 'userZappingMessage',
- 'zappingFormAction'
- ];
- obr.extern = {
- video: {
- getVideoRecs: noopfn,
- videoClicked: noopfn
- }
- };
- methods.forEach((a) => {
- obr.extern[a] = noopfn;
- });
- window.OBR = obr;
- }());
|