aboutsummaryrefslogtreecommitdiff
path: root/static/pastebin.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/pastebin.js')
-rw-r--r--static/pastebin.js16
1 files changed, 1 insertions, 15 deletions
diff --git a/static/pastebin.js b/static/pastebin.js
index 8507726..4412595 100644
--- a/static/pastebin.js
+++ b/static/pastebin.js
@@ -1,11 +1,8 @@
(function() {
var global = this;
- var jug = new Juggernaut();
-
var lib = global.pastebin = {
urlRoot : '/',
- jug : jug,
autoHideFlashes : function() {
var flashes = $('p.flash:visible').hide();
@@ -38,19 +35,8 @@
if (reply.author)
msg.append($('<span></span>').text(' ' + reply.author))
lib.flash(msg);
- },
-
- subscribePaste : function(pasteID) {
- jug.subscribe('paste-replies:' + pasteID, function(data) {
- lib.onNewReply(data, 'paste');
- });
- },
-
- subscribeUser : function(userID) {
- jug.subscribe('user-replies:' + userID, function(data) {
- lib.onNewReply(data, 'user');
- });
}
+
};
bgstack15