Github user robertkowalski commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/204#discussion_r22274381
  
    --- 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 --
    
    just curious, is there a special reason to move all variable declarations 
from the top of the function body into the code?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to