-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
93 lines (86 loc) · 2.99 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Package.describe({
name: 'vericus:tinymce',
version: '4.3.13_1',
// Brief, one-line summary of the package.
summary: 'TinyMCE editor with jQuery support',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.3.2.4');
api.use('ecmascript');
// api.mainModule('tinymce.js');
// client files
api.addFiles([
// core files
'tinymce.min.js',
'jquery.tinymce.min.js',
// plugins
'plugins/advlist/plugin.min.js',
'plugins/anchor/plugin.min.js',
'plugins/autolink/plugin.min.js',
'plugins/autoresize/plugin.min.js',
'plugins/autosave/plugin.min.js',
'plugins/bbcode/plugin.min.js',
'plugins/charmap/plugin.min.js',
'plugins/code/plugin.min.js',
'plugins/codesample/plugin.min.js',
'plugins/colorpicker/plugin.min.js',
'plugins/contextmenu/plugin.min.js',
'plugins/directionality/plugin.min.js',
'plugins/emoticons/plugin.min.js',
'plugins/fullpage/plugin.min.js',
'plugins/fullscreen/plugin.min.js',
'plugins/hr/plugin.min.js',
'plugins/image/plugin.min.js',
'plugins/imagetools/plugin.min.js',
'plugins/importcss/plugin.min.js',
'plugins/insertdatetime/plugin.min.js',
'plugins/layer/plugin.min.js',
'plugins/legacyoutput/plugin.min.js',
'plugins/link/plugin.min.js',
'plugins/lists/plugin.min.js',
'plugins/media/plugin.min.js',
'plugins/nonbreaking/plugin.min.js',
'plugins/noneditable/plugin.min.js',
'plugins/pagebreak/plugin.min.js',
'plugins/paste/plugin.min.js',
'plugins/preview/plugin.min.js',
'plugins/print/plugin.min.js',
'plugins/save/plugin.min.js',
'plugins/searchreplace/plugin.min.js',
'plugins/spellchecker/plugin.min.js',
'plugins/tabfocus/plugin.min.js',
'plugins/table/plugin.min.js',
'plugins/template/plugin.min.js',
'plugins/textcolor/plugin.min.js',
'plugins/textpattern/plugin.min.js',
'plugins/visualblocks/plugin.min.js',
'plugins/visualchars/plugin.min.js',
'plugins/wordcount/plugin.min.js',
// themes
'themes/modern/theme.min.js',
], 'client');
api.addAssets([
// skins
'skins/lightgray/content.inline.min.css',
'skins/lightgray/content.min.css',
'skins/lightgray/skin.ie7.min.css',
'skins/lightgray/skin.min.css',
'skins/lightgray/fonts/tinymce-small.eot',
'skins/lightgray/fonts/tinymce-small.svg',
'skins/lightgray/fonts/tinymce-small.ttf',
'skins/lightgray/fonts/tinymce-small.woff',
'skins/lightgray/fonts/tinymce.eot',
'skins/lightgray/fonts/tinymce.svg',
'skins/lightgray/fonts/tinymce.ttf',
'skins/lightgray/fonts/tinymce.woff',
'skins/lightgray/img/anchor.gif',
'skins/lightgray/img/loader.gif',
'skins/lightgray/img/object.gif',
'skins/lightgray/img/trans.gif',
], 'client');
});