mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-23 01:32:18 -05:00
340dc6552c
-Fix Kickstarter -Fix Dailymotion -Fix events order -Fix Ebay regex
15 lines
301 B
JavaScript
15 lines
301 B
JavaScript
/*global $, app*/
|
|
|
|
module.exports = function ($html, cb) {
|
|
cb = cb || function () {};
|
|
|
|
$($html).find("a.source").oembed(null, {
|
|
fallback : true,
|
|
includeHandle: false,
|
|
maxWidth: 490,
|
|
afterEmbed: function() {
|
|
$($html).find(".embeds").show();
|
|
}
|
|
});
|
|
};
|