Sha256: 25ec03f0d58a51198d4f9ffa2840c1221016b1f782b6ba8b9970bdfbbae5328d
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
#= require qunit #= require moment #= require local_time #= require_directory ./unit #= require_self @addTimeEl = (format = "%Y", datetime = "2013-11-12T12:13:00Z") -> el = document.createElement "time" el.setAttribute "data-local", "time" el.setAttribute "data-format", format el.setAttribute "datetime", datetime document.body.appendChild el el @triggerEvent = (name, el = document) -> event = document.createEvent "Events" event.initEvent name, true, true el.dispatchEvent event @run = -> triggerEvent "time:elapse"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
local_time-0.1.0 | test/javascripts/index.js.coffee |