projects
/
plack-app-gruntmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ECMAScript 6
[plack-app-gruntmaster.git]
/
js
/
90-timers.js
diff --git
a/js/90-timers.js
b/js/90-timers.js
index 7281f6f3fd689a9d37c364ff335886660802038f..af971be22f1a9ed320249d8c4ed999da291b99f3 100644
(file)
--- a/
js/90-timers.js
+++ b/
js/90-timers.js
@@
-23,9
+23,7
@@
function update_timer(timer){
}
}
}
}
-$(function() {
- $('.timer').each(function(item){
- update_timer(item);
- setInterval(function(){update_timer(item)}, 1000);
- });
-});
+$(() => $('.timer').each(item => {
+ update_timer(item);
+ setInterval(() => update_timer(item), 1000);
+}));
This page took
0.008973 seconds
and
4
git commands to generate.