-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
39 lines (38 loc) · 1.51 KB
/
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
30
31
32
33
34
35
36
37
38
39
/* eslint-env node */
'use strict';
module.exports = {
name: 'ember-sugar-date-shim',
options: {
nodeAssets: {
'sugar-date': {
vendor: {
srcDir: 'dist',
destDir: 'ember-sugar-date-shim',
include: ['sugar-date.js', 'locales/*.js']
}
}
}
},
included(app) {
this._super.included(...arguments);
app.import('vendor/ember-sugar-date-shim/sugar-date.js');
app.import('vendor/ember-sugar-date-shim/locales/ca.js');
app.import('vendor/ember-sugar-date-shim/locales/da.js');
app.import('vendor/ember-sugar-date-shim/locales/de.js');
app.import('vendor/ember-sugar-date-shim/locales/es.js');
app.import('vendor/ember-sugar-date-shim/locales/fi.js');
app.import('vendor/ember-sugar-date-shim/locales/fr.js');
app.import('vendor/ember-sugar-date-shim/locales/it.js');
app.import('vendor/ember-sugar-date-shim/locales/ja.js');
app.import('vendor/ember-sugar-date-shim/locales/ko.js');
app.import('vendor/ember-sugar-date-shim/locales/nl.js');
app.import('vendor/ember-sugar-date-shim/locales/no.js');
app.import('vendor/ember-sugar-date-shim/locales/pl.js');
app.import('vendor/ember-sugar-date-shim/locales/pt.js');
app.import('vendor/ember-sugar-date-shim/locales/ru.js');
app.import('vendor/ember-sugar-date-shim/locales/sv.js');
app.import('vendor/ember-sugar-date-shim/locales/zh-cn.js');
app.import('vendor/ember-sugar-date-shim/locales/zh-tw.js');
app.import('vendor/shims/ember-sugar-date.js');
}
};