Fixed: DecoratorHelper.cooked passing wrong parameters to PostCooked class

This commit is contained in:
Aryan Raj 2016-03-20 14:35:59 +05:30
parent 67a5fc39de
commit c03b8940df
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ class DecoratorHelper {
* return helper.cooked(`<p>Cook me</p>`); * return helper.cooked(`<p>Cook me</p>`);
* ``` * ```
**/ **/
cooked(cookedText) { cooked(cooked) {
return new PostCooked({ cookedText }); return new PostCooked({ cooked });
} }
/** /**