app/themes/default/public/scripts/edit.js
function($scope) {
    this.$scope = $scope;

    this.$markdownInput = $scope.find(SELECTORS.MARKDOWN_INPUT);
    this.$form = $scope.find(SELECTORS.FORM);
    this.$titleInput = $scope.find(SELECTORS.TITLE_INPUT);
    this.$deleteButton = $scope.find(SELECTORS.DELETE);

    this.dropzone = new Dropzone(SELECTORS.DROPZONE);
    this.simplemde = new SimpleMDE();

    this.bind();
}
function($scope) {
    this.$scope = $scope;

    this.$markdownInput = $scope.find(SELECTORS.MARKDOWN_INPUT);
    this.$form = $scope.find(SELECTORS.FORM);
    this.$titleInput = $scope.find(SELECTORS.TITLE_INPUT);
    this.$deleteButton = $scope.find(SELECTORS.DELETE);

    this.dropzone = new Dropzone(SELECTORS.DROPZONE);
    this.simplemde = new SimpleMDE();

    this.bind();
}
function ( $scope ) { this . $scope = $scope ; this . $markdownInput = $scope . find ( SELECTORS . MARKDOWN_INPUT ) ; this . $form = $scope . find ( SELECTORS . FORM ) ; this . $titleInput = $scope . find ( SELECTORS . TITLE_INPUT ) ; this . $deleteButton = $scope . find ( SELECTORS . DELETE ) ; this . dropzone = new Dropzone ( SELECTORS . DROPZONE ) ; this . simplemde = new SimpleMDE ( ) ; this . bind ( ) ; }
Page View Class for the Document Edit page.
Page View Class for the Document Edit page .