xiabob

Results 5 comments of xiabob

``` __weak __typeof(self)weakSelf = self; ctx[@"contentUpdateCallback"] = ^(JSValue *msg) { if (weakSelf.receiveEditorDidChangeEvents) { [weakSelf editorDidChangeWithText:[weakSelf getText] andHTML:[weakSelf getHTML]]; } [weakSelf checkForMentionOrHashtagInText:[weakSelf getText]]; }; ``` try this,it works for me.is three...

@william205 Thank you for your reply, my question is this: ![image](https://cloud.githubusercontent.com/assets/9293442/19993060/b495f706-a27d-11e6-9cfc-46d1907ae6e3.png) ![image](https://cloud.githubusercontent.com/assets/9293442/19993070/c65c6452-a27d-11e6-9c51-a7f413ba2e1e.png) ![image](https://cloud.githubusercontent.com/assets/9293442/19993077/d08cf22a-a27d-11e6-8e37-bef33e8e8208.png) but check with instruments, no leak happened ![image](https://cloud.githubusercontent.com/assets/9293442/19993080/d9efdff8-a27d-11e6-8477-af74b3b1044d.png) ![image](https://cloud.githubusercontent.com/assets/9293442/19993087/e8440be2-a27d-11e6-9d15-c2946a696f3f.png) why these happened?

maybe also work for #13

Very strange, I actually didn't make any changes to this part of the content, but the formatting did change. I've pull a new commit, reformatting the code.

I tested it on my Android device, and it worked as expected.