Sha256: b49625fbcb6de2cba31e8cb787a17cd5440aca8329fd28e458f9e471fc6bd3f0

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

$(function () {
  'use strict';

  window.Clock = window.Clock || {};

  Clock.startClock = function (widget) {
    setTimeout(function () {
      widget.find('h1').html(new Date().toDateString());
      widget.find('h2').html(new Date().toLocaleTimeString());
      Clock.startClock(widget);
    }, 500);
  }
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kiteboard-0.1.0 app/assets/javascripts/clock.js