10 Commits

Author SHA1 Message Date
9ddcc41c6b implement Gutenberg block to add liveticker without legacy shortcode
* implement react-based JS block
* refactor shortcode and widget to use the same syntax and classes
2019-11-24 18:09:21 +01:00
0cab1a3580 update JS code style to currently recommended conventions
ES5 support is still present to not introduce breaking changes (dropped
IE10 support) in minor updates.
2019-08-28 11:15:02 +02:00
65eafd2524 Renamed Plugin and changed slug to stklcode-liveticker
Due to naming conflicts with the original wp-liveticker plugin this one
is now renamed to a unique identifier.
2018-11-02 09:01:29 +01:00
6f1cac5404 Renamed AJAX variable, JS code style, added ESLint config 2018-10-17 20:42:10 +02:00
c3cc5b1b84 Refactored JavaScript without use of jQuery 2018-10-16 20:57:43 +02:00
2d5dde9664 Enabled AJAX update for widgets 2017-12-10 21:15:55 +01:00
f10e9c63e0 AJAX nonce verification enabled 2017-12-09 16:05:09 +01:00
de347e1f81 Only send new Ticks on AJAX update
THis reduces the overhead of re-sending huge amounts of HTML code to the frontend without any new data to display.
2017-12-09 11:48:23 +01:00
a5144f9f17 JavaScript refactored to its own namespace 2017-12-09 10:30:36 +01:00
8100d07eed Implemented AJAX skeleton with configurable poll interval 2017-12-07 21:15:40 +01:00