src/cm/media/js/client/c_sync.js
changeset 466 f00e34a4476b
parent 432 aad07a378d44
child 490 57c1ba71f642
equal deleted inserted replaced
465:4d81d1ec1ce6 466:f00e34a4476b
     1 gShowingAllComments = false ;
     1 gShowingAllComments = false ;
       
     2 // indexOf method of Array is unknown by stupid IE.
       
     3 if (!Array.prototype.indexOf) {
       
     4   Array.prototype.indexOf = function(obj, start) {
       
     5     for (var i = (start || 0), j = this.length; i < j; i++) {
       
     6       if (this[i] === obj) { return i; }
       
     7     }
       
     8     return -1;
       
     9   }
       
    10 }
     2 // YUI : queue, overlay
    11 // YUI : queue, overlay
     3 Sync = function() {
    12 Sync = function() {
     4   // this queue handles both animations and io requests
    13   // this queue handles both animations and io requests
     5   this._q = null ;
    14   this._q = null ;
     6   
    15