Closed deiga closed 10 years ago
Did you turn on the React Editor option? I know it's still pretty buggy with a bunch of modules.
Sigh... turned on react editor option, and this plugin broke.
Should be pretty high priority, it's a much smoother experience, it's also going to be the default editor soon.
Yeah, the React editor was the culprit.
I've started some work on getting this to work with the React editor on my fork, but it's not ready yet/pushed. I'll put in a PR once it's ready.
@elrolito Thanks for the help!
@elrolito Any progress on the React support? If not, I'll start working on it.
Unfortunately no, I’ve been caught up with a major project at work…
Good luck! I guess the module API has been updated, so that will help a lot.
On Jul 24, 2014, at 12:47 PM, Yuji Nakayama notifications@github.com wrote:
@elrolito Any progress on the React support? If not, I'll start working on it.
— Reply to this email directly or view it on GitHub.
Hmm, it seems that this issue is already fixed by some compatibility improvements (introduced after this issue was posted) in Atom.
The original error:
Failed to activate package named 'atom-lint' TypeError: Cannot call method 'append' of undefined
at LintView.module.exports.LintView.initialize (/Users/timosand/.atom/packages/atom-lint/lib/lint-view.coffee:16:27)
was caused by the absence of overlayer
property in ReactEditorView
which is used instead of EditorView
when the Use React Editor option is checked. However, after that, .overlayer
class DOM element and overlayer
property have been added to ReactEditorView
so that packages which rely on it can work with React editor:
So now there's no need for the explicit React support to make atom-lint work properly since DOMs generated by React and DOMs generated by jQuery (or anything else) can coexist. Though there's a room for performance improvement with the native React support and I'm working on it.
If you still reproduce this issue, please reopen it.