Skip to content

Commit 9047ba5

Browse files
committed
Bug Fix
- (Bug Fix) Fixed an issue with multiple instances breaking due to a property instance not getting properly set. - (Bug Fix) Removed legacy flipclock.js file - (Example) Added new example to illustrate multiple instances
1 parent d0c89d7 commit 9047ba5

File tree

5 files changed

+44
-1400
lines changed

5 files changed

+44
-1400
lines changed

compiled/flipclock.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,10 @@ var FlipClock;
360360
*/
361361

362362
constructor: function(factory, options) {
363+
this.dividers = [];
364+
this.lists = [];
363365
this.base(options);
364366
this.factory = factory;
365-
this.dividers = [];
366367
},
367368

368369
/**
@@ -532,6 +533,8 @@ var FlipClock;
532533
}
533534
*/
534535

536+
console.log(t.lists);
537+
535538
$.each(time, function(i, digit) {
536539
var list = t.lists[i];
537540

0 commit comments

Comments
 (0)