-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathindex.js
23 lines (19 loc) · 1.1 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
/* jshint node: true */
'use strict';
module.exports = {
name: 'ember-leaflet',
included: function(app) {
//import javascript
app.import(app.bowerDirectory + '/leaflet/dist/leaflet-src.js');
app.import(app.bowerDirectory + '/leaflet/dist/leaflet.css');
var imagesDestDir = '/assets/images';
app.import(app.bowerDirectory + '/leaflet/dist/images/layers-2x.png', { destDir: imagesDestDir });
app.import(app.bowerDirectory + '/leaflet/dist/images/layers.png', { destDir: imagesDestDir });
app.import(app.bowerDirectory + '/leaflet/dist/images/marker-icon-2x.png', { destDir: imagesDestDir });
app.import(app.bowerDirectory + '/leaflet/dist/images/marker-icon.png', { destDir: imagesDestDir });
app.import(app.bowerDirectory + '/leaflet/dist/images/marker-shadow.png', { destDir: imagesDestDir });
app.import(app.bowerDirectory + '/leaflet.markercluster/dist/leaflet.markercluster-src.js');
app.import(app.bowerDirectory + '/leaflet.markercluster/dist/MarkerCluster.css');
app.import(app.bowerDirectory + '/leaflet.markercluster/dist/MarkerCluster.Default.css');
}
};