Changeset 17408


Ignore:
Timestamp:
12/15/13 20:25:32 (11 years ago)
Author:
tbretz
Message:
Enable strict mode and made the code strict mode compliant.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/termtv/js/player.js

    r17407 r17408  
     1'use strict';
     2
    13/**
    24 * @class TTVPlayer
     
    8688    This.debugStream = function(msg)
    8789    {
     90        function pad(v) { return ('0'+v).slice(-2); }
     91
    8892        if (!This.options.debug)
    8993            return;
     
    9195        if (This.stream && This.stream[This.nextFrameIdx])
    9296        {
    93             function pad(v) { return ('0'+v).slice(-2); }
    9497            var dat = new Date((This.stream[This.nextFrameIdx].time - This.stream[0].time)*1000);
    9598            options.debug(pad(dat.getUTCHours())+":"+
     
    484487        if (this.options.scan && (new Date()).getTime()/1000-now>1)
    485488            break;
    486 
    487489    }
    488490
Note: See TracChangeset for help on using the changeset viewer.