1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2025-02-27 08:51:50 -05:00
kaiwa/clientapp/helpers/embedIt.js

15 lines
301 B
JavaScript
Raw Normal View History

2014-01-01 16:24:11 -08:00
/*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();
}
2014-01-01 16:24:11 -08:00
});
};