vendor/opentok.js
function setPlugin (plugin) {
          if (plugin) {
            api._ = plugin;
            api.parentElement = plugin.parentElement;
            api.$ = $(plugin);
          }
          else {
            api._ = null;
            api.parentElement = null;
            api.$ = $();
          }
        }
function setPlugin (plugin) {
          if (plugin) {
            api._ = plugin;
            api.parentElement = plugin.parentElement;
            api.$ = $(plugin);
          }
          else {
            api._ = null;
            api.parentElement = null;
            api.$ = $();
          }
        }
function setPlugin ( plugin ) { if ( plugin ) { api . _ = plugin ; api . parentElement = plugin . parentElement ; api . $ = $ ( plugin ) ; } else { api . _ = null ; api . parentElement = null ; api . $ = $ ( ) ; } }
Assign +plugin+ to this object and setup all the public accessors that relate to the DOM Object.
Assign + plugin + to this object and setup all the public accessors that relate to the DOM Object .