discourse/app
Jarek Radosz 7a8442435c
REFACTOR: LockOn class (#10428)
Mostly de-jQuery-ification. This refactor tries to closely preserve the original behavior.

Changes:
* Store the interval inside the class (allows using `clearLock()` on `LockOn` objects)
* Extract the interval function to a separate method
* Math.max result is never undefined (per MDN: "[Return value] The largest of the given numbers. If at least one of the arguments cannot be converted to a number, NaN is returned.")
* Replace jQuery's `offset()`
* Private methods be private
* Native `scrollTop` (jQuery's just a wrapper for this)
* `addEventListener`/`removeEventListener`
2020-08-13 16:43:05 +02:00
..
assets REFACTOR: LockOn class (#10428) 2020-08-13 16:43:05 +02:00
controllers DEV: Improve API usage when creating * updating categories 2020-08-12 12:28:29 -06:00
helpers FIX: color scheme selection with non-default theme 2020-08-12 08:49:13 -04:00
jobs FEATURE: don't notify about changed tags for a private message (#10408) 2020-08-13 17:22:34 +10:00
mailers PERF: Replace video and audio links in search blurb while indexing. 2020-08-06 12:25:03 +08:00
models FIX: generate topic excerpt when moving posts to new topic. 2020-08-13 11:30:14 +05:30
serializers FEATURE: Group category permissions tab (#10388) 2020-08-10 09:49:05 -05:00
services FEATURE: don't notify about changed tags for a private message (#10408) 2020-08-13 17:22:34 +10:00
views FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00