Skip to content

Commit c48797c

Browse files
v2.0.1
1 parent c5e0f44 commit c48797c

File tree

6 files changed

+3391
-6
lines changed

6 files changed

+3391
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
bower_components/*
22
node_modules/*
33
.idea/*
4-
.vscode/*
4+
.vscode/*
5+
.DS_Store

dist/easytimer.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* easytimer.js
3+
* Generated: 2018-01-25
4+
* Version: 2.0.1
5+
*/
6+
17
(function (global, factory) {
28
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
39
typeof define === 'function' && define.amd ? define(factory) :
@@ -246,8 +252,8 @@ function Timer() {
246252

247253
customCallback(eventData.detail.timer);
248254
if (isTargetAchieved(currentTime)) {
249-
dispatchEvent('targetAchieved', eventData);
250255
stop();
256+
dispatchEvent('targetAchieved', eventData);
251257
}
252258
}
253259

dist/easytimer.min.js

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)