mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 17:06:26 +08:00

It's a special case widget - its constructor has different contructor arguments: ```js export default class PostCooked { constructor(attrs, decoratorHelper, currentUser) { ... ``` vs ```js export default class Widget { constructor(attrs, register, opts) { ... ```