new PasteEncrypter()
(controller) Responsible for encrypting document and sending it to server.
Does upload, encryption is done transparently by ServerInteraction.
- Source:
Methods
(async, static) sendComment()
send a reply in a discussion
- Source:
(async, static) sendPaste()
sends a new document to server
- Source:
(private, static) showCreatedPaste(status, data)
called after successful document upload
Parameters:
Name | Type | Description |
---|---|---|
status |
int | |
data |
object |
- Source:
(private, static) showUploadedComment(status, data)
called after successful comment upload
Parameters:
Name | Type | Description |
---|---|---|
status |
int | |
data |
object |
- Source: