Github user benkeen commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/204#discussion_r22274508
--- Diff: app/addons/documents/views-doceditor.js ---
@@ -486,16 +408,17 @@ function (app, FauxtonAPI, Components, Documents,
Databases, prettify) {
this.editor.render();
- editor = this.editor;
- model = this.model;
- //only start listening to editor once it has been rendered
+ var editor = this.editor;
+ var model = this.model;
--- End diff --
I just find the code harder to read that way.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---