MCPcopy Index your code
hub / github.com/caike/jQuery-Simple-Timer / createSubDivs

Function createSubDivs

examples/bundle.js:64–82  ·  view source on GitHub ↗
(timerBoxElement)

Source from the content-addressed store, hash-verified

62 Timer.prototype.start = function(options) {
63
64 var createSubDivs = function(timerBoxElement){
65 var seconds = document.createElement('div');
66 seconds.className = 'seconds';
67
68 var minutes = document.createElement('div');
69 minutes.className = 'minutes';
70
71 var hours = document.createElement('div');
72 hours.className = 'hours';
73
74 var clearDiv = document.createElement('div');
75 clearDiv.className = 'clearDiv';
76
77 return timerBoxElement.
78 append(hours).
79 append(minutes).
80 append(seconds).
81 append(clearDiv);
82 };
83
84 this.targetElement.each(function(_index, timerBox) {
85 var that = this;

Callers 1

bundle.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected