2013-10-15 04:38:07 +02:00
|
|
|
var Miniflux = {};
|
2013-02-24 20:04:56 +01:00
|
|
|
|
2013-10-15 04:38:07 +02:00
|
|
|
Miniflux.App = (function() {
|
2013-09-14 18:10:38 +02:00
|
|
|
|
2013-10-15 04:38:07 +02:00
|
|
|
return {
|
2014-02-23 03:50:54 +01:00
|
|
|
// Blink the refresh icon to avoid to load an image and just for fun
|
|
|
|
BlinkIcon: function() {
|
|
|
|
var icons = document.querySelectorAll(".loading-icon");
|
|
|
|
|
|
|
|
[].forEach.call(icons, function(icon) {
|
|
|
|
icon.classList.toggle("loading-icon-blink");
|
|
|
|
});
|
|
|
|
},
|
2013-10-15 04:38:07 +02:00
|
|
|
Run: function() {
|
|
|
|
Miniflux.Event.ListenKeyboardEvents();
|
|
|
|
Miniflux.Event.ListenMouseEvents();
|
2013-07-14 19:01:45 +02:00
|
|
|
}
|
2013-04-03 04:49:14 +02:00
|
|
|
}
|
|
|
|
|
2013-07-10 16:44:53 +02:00
|
|
|
})();
|