Don't try to embed pastebin user profiles

This commit is contained in:
Jordan Bates 2013-04-30 08:26:13 -07:00
parent bad0817cdf
commit e92d0cd82c
4 changed files with 4 additions and 4 deletions

View File

@ -4308,7 +4308,7 @@
} }
}, },
pastebin: { pastebin: {
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/, regExp: /.*(?:pastebin.com\/(?!u\/))([^#\&\?]*).*/,
el: function() { el: function() {
var div; var div;

View File

@ -4304,7 +4304,7 @@
} }
}, },
pastebin: { pastebin: {
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/, regExp: /.*(?:pastebin.com\/(?!u\/))([^#\&\?]*).*/,
el: function() { el: function() {
var div; var div;

View File

@ -4307,7 +4307,7 @@
} }
}, },
pastebin: { pastebin: {
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/, regExp: /.*(?:pastebin.com\/(?!u\/))([^#\&\?]*).*/,
el: function() { el: function() {
var div; var div;

View File

@ -201,7 +201,7 @@ Linkify =
text: -> JSON.parse(@responseText).title text: -> JSON.parse(@responseText).title
pastebin: pastebin:
regExp: /.*(?:pastebin.com\/)([^#\&\?]*).*/ regExp: /.*(?:pastebin.com\/(?!u\/))([^#\&\?]*).*/
el: -> el: ->
div = $.el 'iframe', div = $.el 'iframe',
src: "http://pastebin.com/embed_iframe.php?i=#{@name}" src: "http://pastebin.com/embed_iframe.php?i=#{@name}"