-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
43 lines (35 loc) · 839 Bytes
/
index.js
File metadata and controls
43 lines (35 loc) · 839 Bytes
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
'use strict';
var Funnel = require('broccoli-funnel');
const { join } = require('path');
module.exports = {
name: require('./package').name,
treeForPublic: function() {
return new Funnel(join(this.root, 'public'));
},
included(app) {
if(!app.options['ember-prism']) {
app.options['ember-prism'] = {
theme: 'okaidia',
components: [
'apacheconf',
'bash',
'css',
'handlebars',
'http',
'javascript',
'json',
'markup-templating',
'ruby',
'scss'
],
plugins: ['line-numbers', 'normalize-whitespace']
}
}
if(!app.options.showdown) {
app.options.showdown = {
openLinksInNewWindow: true
};
}
this._super.included.apply(this, arguments);
},
};