The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/rocketchat-oembed/package.js

38 lines
930 B

Package.describe({
name: 'rocketchat:oembed',
version: '0.0.1',
summary: 'Message pre-processor that insert oEmbed widget in template',
git: ''
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use([
'templating',
'coffeescript',
'rocketchat:lib@0.0.1'
]);
api.addFiles('client/baseWidget.html', 'client');
api.addFiles('client/baseWidget.coffee', 'client');
api.addFiles('client/oembedImageWidget.html', 'client');
api.addFiles('client/oembedImageWidget.coffee', 'client');
api.addFiles('client/oembedAudioWidget.html', 'client');
api.addFiles('client/oembedYoutubeWidget.html', 'client');
api.addFiles('client/oembedUrlWidget.html', 'client');
api.addFiles('client/oembedUrlWidget.coffee', 'client');
api.addFiles('server/server.coffee', 'server');
api.addFiles('server/models/OEmbedCache.coffee', 'server');
api.export('OEmbed', 'server');
});
Package.onTest(function(api) {
});