general/clocks/src/clock.js
/**
     * Runs all alarm events and then empties the alarm event queue.
     */
Runs all alarm events and then empties the alarm event queue.
Runs all alarm events and then empties the alarm event queue .
function triggerAlarmEvents() {
        var i,
            triggerThis;
        for (i = 0; i < alarmEvents.length; i++) {
            triggerThis = alarmEvents[i];
            if (typeof(triggerThis) == "function") {
                triggerThis(alarm);
            }
            else {
                alert(triggerThis);
            }
        }
        alarmEvents = [];
    }
function triggerAlarmEvents ( ) { var i , triggerThis ; for ( i = 0 ; i < alarmEvents . length ; i ++ ) { triggerThis = alarmEvents [ i ] ; if ( typeof ( triggerThis ) == "function" ) { triggerThis ( alarm ) ; } else { alert ( triggerThis ) ; } } alarmEvents = [ ] ; }
Runs all alarm events and then empties the alarm event queue.
Runs all alarm events and then empties the alarm event queue .
// Should I pass in now or the alarm? I think the alarm.
 // We got a string
 // Empty the queue the easy way
