mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
FIX: Can't shadow cooked
in strict mode (Safari)
This commit is contained in:
parent
9d38685a70
commit
954ae7a08a
@ -63,8 +63,8 @@ class DecoratorHelper {
|
||||
* return helper.cooked(`<p>Cook me</p>`);
|
||||
* ```
|
||||
**/
|
||||
cooked(cooked) {
|
||||
return new PostCooked({ cooked });
|
||||
cooked(cookedText) {
|
||||
return new PostCooked({ cookedText });
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user