mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 10:20:14 +01:00
WIP: markdown
This commit is contained in:
parent
232bc746f4
commit
1f85b25549
8 changed files with 46 additions and 33 deletions
|
|
@ -2,23 +2,27 @@
|
|||
|
||||
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"
|
||||
summary: 'GitHub flavored markdown parser for Meteor based on marked.js',
|
||||
version: '1.0.9',
|
||||
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');
|
||||
if(api.versionsFrom) api.versionsFrom('1.8.2');
|
||||
|
||||
api.use('templating');
|
||||
api.use("ecmascript", ['server', 'client']);
|
||||
|
||||
api.add_files('marked/lib/marked.js', ['server', 'client']);
|
||||
api.add_files('markdown.js', ['server', 'client']);
|
||||
api.add_files('src/markdown.js', ['server', 'client']);
|
||||
api.export('Markdown', ['server', 'client']);
|
||||
|
||||
api.use("ui", "client", {weak: true});
|
||||
api.add_files("template-integration.js", "client");
|
||||
api.use('ui', 'client', {weak: true});
|
||||
api.use('tmeasday:check-npm-versions', 'client');
|
||||
|
||||
api.add_files('src/checkNpmVersions.js', 'client');
|
||||
api.add_files('src/template-integration.js', 'client');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue