This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Jarek Radosz 09e4eb4137
DEV: Introduce a @debounce(delay) decorator (#18667)
An example from tests:

```js
class TestStub {
  counter = 0;

  @debounce(50)
  increment() {
    this.counter++;
  }
}

const stub = new TestStub();

stub.increment();
stub.increment();
stub.increment();
await settled();

assert.strictEqual(stub.counter, 1);
```
2022-10-19 20:43:58 +02:00
..
app FIX: Calculate header offset once on load (#18669) 2022-10-19 12:07:44 -04:00
config DEV: Enable jquery-integration runtime deprecation (#18057) 2022-08-23 19:28:22 +01:00
lib DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
public/assets/scripts DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
scripts DEV: Compile splash screen JS with ember-cli before inlining (#18150) 2022-09-01 09:58:48 +01:00
tests DEV: Introduce a @debounce(delay) decorator (#18667) 2022-10-19 20:43:58 +02:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Use npm for forked backburner.js version (#18559) 2022-10-12 11:14:41 +01:00
jsconfig.json DEV: Add jsconfig (#17800) 2022-08-04 22:50:47 +01:00
package.json Build(deps): Bump qunit from 2.19.1 to 2.19.2 in /app/assets/javascripts (#18631) 2022-10-18 09:33:39 +08:00
testem.js DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00