mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:47:31 +08:00
09e4eb4137
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); ``` |
||
---|---|---|
.. | ||
category-macro.js | ||
decorator-alias.js | ||
decorators.js | ||
dom-utils.js | ||
escape-regexp.js | ||
extract-value.js | ||
handle-descriptor.js | ||
is-descriptor.js | ||
macro-alias.js | ||
watched-words.js |