Class: PasteStatus

PasteStatus()

new PasteStatus()

handles paste status/result
Source:

Methods

(static) createPasteNotification(url, deleteUrl)

creates a notification after a successfull paste upload
Parameters:
Name Type Description
url string
deleteUrl string
Source:

(static) hideMessages()

hides the remaining time and successful upload notification
Source:

(static) init()

init status manager preloads jQuery elements
Source:

(static) pasteLinkClick()

Forces opening the paste if the link does not do this automatically. This is necessary as browsers will not reload the page when it is already loaded (which is fake as it is set via history.pushState()).
Source:

(static) showRemainingTime(pasteMetaData)

shows the remaining time
Parameters:
Name Type Description
pasteMetaData object
Source: