forked from knownasilya/ember-plupload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
29 lines (26 loc) · 791 Bytes
/
index.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
/* jshint node: true */
'use strict';
module.exports = {
name: 'ember-plupload',
included: function (app) {
this._super.included(app);
if (process.env.EMBER_ENV === 'development') {
app.import('bower_components/plupload/js/moxie.js');
app.import('bower_components/plupload/js/plupload.dev.js');
} else {
app.import('bower_components/plupload/js/plupload.full.min.js');
}
app.import('bower_components/plupload/js/Moxie.swf', {
destDir: 'assets'
});
app.import('bower_components/plupload/js/Moxie.xap', {
destDir: 'assets'
});
app.import('bower_components/dinosheets/dist/dinosheets.amd.js', {
exports: {
'dinosheets': ['default']
}
});
app.import('vendor/styles/ember-plupload.css');
}
};