Pastebin got caught in the crossfire\!
This commit is contained in:
parent
878690131e
commit
23f1b9a1bf
@ -4305,6 +4305,16 @@
|
|||||||
return JSON.parse(this.responseText).title;
|
return JSON.parse(this.responseText).title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
pastebin: {
|
||||||
|
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/,
|
||||||
|
el: function() {
|
||||||
|
var div;
|
||||||
|
|
||||||
|
return div = $.el('iframe', {
|
||||||
|
src: "http://pastebin.com/embed_iframe.php?i=" + this.name
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
embedder: function(a) {
|
embedder: function(a) {
|
||||||
|
|||||||
@ -4301,6 +4301,16 @@
|
|||||||
return JSON.parse(this.responseText).title;
|
return JSON.parse(this.responseText).title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
pastebin: {
|
||||||
|
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/,
|
||||||
|
el: function() {
|
||||||
|
var div;
|
||||||
|
|
||||||
|
return div = $.el('iframe', {
|
||||||
|
src: "http://pastebin.com/embed_iframe.php?i=" + this.name
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
embedder: function(a) {
|
embedder: function(a) {
|
||||||
|
|||||||
@ -4304,6 +4304,16 @@
|
|||||||
return JSON.parse(this.responseText).title;
|
return JSON.parse(this.responseText).title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
pastebin: {
|
||||||
|
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/,
|
||||||
|
el: function() {
|
||||||
|
var div;
|
||||||
|
|
||||||
|
return div = $.el('iframe', {
|
||||||
|
src: "http://pastebin.com/embed_iframe.php?i=" + this.name
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
embedder: function(a) {
|
embedder: function(a) {
|
||||||
|
|||||||
@ -199,6 +199,11 @@ Linkify =
|
|||||||
api: -> "//soundcloud.com/oembed?show_artwork=false&&maxwidth=500px&show_comments=false&format=json&url=https://www.soundcloud.com/#{@name}"
|
api: -> "//soundcloud.com/oembed?show_artwork=false&&maxwidth=500px&show_comments=false&format=json&url=https://www.soundcloud.com/#{@name}"
|
||||||
text: -> JSON.parse(@responseText).title
|
text: -> JSON.parse(@responseText).title
|
||||||
|
|
||||||
|
pastebin:
|
||||||
|
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/
|
||||||
|
el: ->
|
||||||
|
div = $.el 'iframe',
|
||||||
|
src: "http://pastebin.com/embed_iframe.php?i=#{@name}"
|
||||||
|
|
||||||
embedder: (a) ->
|
embedder: (a) ->
|
||||||
return [a] unless Conf['Embedding']
|
return [a] unless Conf['Embedding']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user