vendor/opentok.js
function nodeListToArray (nodes) {
    if ($.env.name !== 'IE' || $.env.version > 9) {
      return prototypeSlice.call(nodes);
    }

    // IE 9 and below call use Array.prototype.slice.call against
    // a NodeList, hence the following
    var array = [];

    for (var i=0, num=nodes.length; i<num; ++i) {
      array.push(nodes[i]);
    }

    return array;
  }
function nodeListToArray (nodes) {
    if ($.env.name !== 'IE' || $.env.version > 9) {
      return prototypeSlice.call(nodes);
    }

    // IE 9 and below call use Array.prototype.slice.call against
    // a NodeList, hence the following
    var array = [];

    for (var i=0, num=nodes.length; i<num; ++i) {
      array.push(nodes[i]);
    }

    return array;
  }
function nodeListToArray ( nodes ) { if ( $ . env . name !== 'IE' || $ . env . version > 9 ) { return prototypeSlice . call ( nodes ) ; } // IE 9 and below call use Array.prototype.slice.call against // a NodeList, hence the following var array = [ ] ; for ( var i = 0 , num = nodes . length ; i < num ; ++ i ) { array . push ( nodes [ i ] ) ; } return array ; }
A helper for converting a NodeList to a JS Array
A helper for converting a NodeList to a JS Array