anchor.diff:   *
   *-->
   
  -<%@page import="java.text.SimpleDateFormat"%>
   <%@page import="java.util.Date"%>
   <%@page import="entities.FileModel"%>
   <%@page import="helpers.DocumentManager"%>
  
positive.code:                         url: "<%= Model.GetFileUri() %>",
                          fileType: fileType,
                          key: "<%= Model.GetKey() %>",
  
                          info: {
                              author: "Me",
                              created: "<%= new SimpleDateFormat("MM/dd/yyyy").format(new Date()) %>",
                          },
  
                          permissions: {
                              edit: <%= Boolean.toString(DocumentManager.GetEditedExts().contains(FileUtility.GetFileExtension(Model.GetFileName()))).toLowerCase() %>,
                              download: true,
                          }
                      },
                      editorConfig: {
                          mode: "<%= DocumentManager.GetEditedExts().contains(FileUtility.GetFileExtension(Model.GetFileName())) && !"view".equals(request.getAttribute("mode")) ? "edit" : "view" %>",
  
                          lang: "en",
  
                          callbackUrl: "<%= Model.GetCallbackUrl() %>",
  
  
negative.code:                         },
  
                          customization: {
                              goback: {
                                  url: "<%= Model.GetServerUrl() %>/IndexServlet",
                              },
  