ESP8266 part of the f105-motor-demo project (see f105-motor-demo_stm32)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
466 B

// requires other modules...
// - utils.js
// - modal.js
// - wifi.js
// all must be included after 3rd party libs
/** Global generic init */
$().ready(function () {
// loader dots...
setInterval(function () {
$('.anim-dots').each(function (x) {
var $x = $(x);
var dots = $x.html() + '.';
if (dots.length == 5) dots = '.';
$x.html(dots);
});
}, 1000);
modal.init();
notify.init();
});
function errorMsg(msg) {
notify.show(msg, 3000);
}