Remove some unnecessary CSS.

This commit is contained in:
ccd0 2014-12-26 03:30:13 -08:00
parent d37c17497c
commit e0290e2207

View File

@ -187,7 +187,7 @@ Embedding =
, ,
key: 'image' key: 'image'
regExp: /\.(?:gif|png|jpg|jpeg|bmp)(?:\?|$)/i regExp: /\.(?:gif|png|jpg|jpeg|bmp)(?:\?|$)/i
style: 'border: 0; width: auto; height: auto;' style: ''
el: (a) -> el: (a) ->
$.el 'div', <%= html('<a target="_blank" href="${a.href}"><img src="${a.href}" style="max-width: 80vw; max-height: 80vh;"></a>') %> $.el 'div', <%= html('<a target="_blank" href="${a.href}"><img src="${a.href}" style="max-width: 80vw; max-height: 80vh;"></a>') %>
, ,
@ -217,7 +217,7 @@ Embedding =
, ,
key: 'MediaCrush' key: 'MediaCrush'
regExp: /^\w+:\/\/(?:www\.)?mediacru\.sh\/([\w\-]+)/ regExp: /^\w+:\/\/(?:www\.)?mediacru\.sh\/([\w\-]+)/
style: 'border: 0;' style: ''
el: (a) -> el: (a) ->
el = $.el 'div' el = $.el 'div'
$.queueTask -> $.cache "https://mediacru.sh/#{a.dataset.uid}.json", -> $.queueTask -> $.cache "https://mediacru.sh/#{a.dataset.uid}.json", ->
@ -348,7 +348,7 @@ Embedding =
, ,
key: 'Loopvid' key: 'Loopvid'
regExp: /^\w+:\/\/(?:www\.)?loopvid.appspot.com\/((?:pf|kd|lv|mc|gd|gh|db|nn)\/[\w\-]+(,[\w\-]+)*|fc\/\w+\/\d+)/ regExp: /^\w+:\/\/(?:www\.)?loopvid.appspot.com\/((?:pf|kd|lv|mc|gd|gh|db|nn)\/[\w\-]+(,[\w\-]+)*|fc\/\w+\/\d+)/
style: 'border: 0; width: auto; height: auto; max-width: 80vw; max-height: 80vh;' style: 'max-width: 80vw; max-height: 80vh;'
el: (a) -> el: (a) ->
el = $.el 'video', el = $.el 'video',
controls: true controls: true
@ -393,7 +393,7 @@ Embedding =
, ,
key: 'video' key: 'video'
regExp: /\.(?:ogv|webm|mp4)(?:\?|$)/i regExp: /\.(?:ogv|webm|mp4)(?:\?|$)/i
style: 'border: 0; width: auto; height: auto; max-width: 80vw; max-height: 80vh;' style: 'max-width: 80vw; max-height: 80vh;'
el: (a) -> el: (a) ->
$.el 'video', $.el 'video',
controls: true controls: true