mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Update `markedjs` to commit
7b3036f8c0.
This fixes the issue https://github.com/wekan/wekan/issues/3148.
24 lines
679 B
JavaScript
Executable file
24 lines
679 B
JavaScript
Executable file
// Source: https://github.com/chjj/marked
|
|
|
|
Package.describe({
|
|
name: 'wekan-markdown',
|
|
summary: "GitHub flavored markdown parser for Meteor based on marked.js",
|
|
version: "1.0.8",
|
|
git: "https://github.com/wekan/markdown.git"
|
|
});
|
|
|
|
// Before Meteor 0.9?
|
|
if(!Package.onUse) Package.onUse = Package.on_use;
|
|
|
|
Package.onUse(function (api) {
|
|
if(api.versionsFrom) api.versionsFrom('METEOR@0.9.0');
|
|
|
|
api.use('templating');
|
|
|
|
api.add_files('marked/lib/marked.js', ['server', 'client']);
|
|
api.add_files('markdown.js', ['server', 'client']);
|
|
api.export('Markdown', ['server', 'client']);
|
|
|
|
api.use("ui", "client", {weak: true});
|
|
api.add_files("template-integration.js", "client");
|
|
});
|