forked from nate-strauser/meteor-x-editable-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
32 lines (27 loc) · 1.38 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
Package.describe({
summary: "Latest version of X-Editable for Bootstrap with wysihtml5 rich text editor"
});
Package.on_use(function (api){
// Package needs jQuery
api.use('jquery');
// This depends on BS3 JS libraries, including popovers.
// Need to make sure bootstrap 3 is loaded first, or errors will ensue
// https://github.com/vitalets/x-editable/issues/395
api.use('bootstrap3-less');
//x-editable
api.add_files('lib/bootstrap-editable/css/bootstrap-editable.css', 'client');
api.add_files('lib/bootstrap-editable/js/bootstrap-editable.js', 'client', {bare:true});
api.add_files('lib/bootstrap-editable/img/clear.png', 'client');
api.add_files('lib/bootstrap-editable/img/loading.gif', 'client');
//address
api.add_files('lib/address/address.css', 'client');
api.add_files('lib/address/address.js', 'client', {bare:true});
//wysihtml5
api.add_files('lib/wysihtml5/wysihtml5.js', 'client', {bare:true});
api.add_files('lib/wysihtml5/bootstrap-wysihtml5-0.0.2/wysiwyg-color.css', 'client');
api.add_files('lib/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.js', 'client', {bare:true});
api.add_files('lib/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.css', 'client');
api.add_files('lib/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.js', 'client', {bare:true});
//override image paths
api.add_files('path-override.css', 'client');
});