27 // modules that you would like to import into your application |
27 // modules that you would like to import into your application |
28 // please specify an object with the list of modules as keys |
28 // please specify an object with the list of modules as keys |
29 // along with the exports of each module as its value. |
29 // along with the exports of each module as its value. |
30 app.import('bower_components/popcorn-js/popcorn.js'); |
30 app.import('bower_components/popcorn-js/popcorn.js'); |
31 app.import('bower_components/ammap3/ammap/ammap.js'); |
31 app.import('bower_components/ammap3/ammap/ammap.js'); |
|
32 app.import('bower_components/chroma-js/chroma.js'); |
32 app.import('vendor/data/maps/worldLow.js'); |
33 app.import('vendor/data/maps/worldLow.js'); |
33 app.import('vendor/data/maps/continentsLow.js'); |
34 app.import('vendor/data/maps/continentsLow.js'); |
34 app.import('vendor/data/maps/france2016Low.js'); |
35 app.import('vendor/data/maps/france2016Low.js'); |
|
36 |
|
37 //shims |
35 app.import('vendor/shims/ammaps.js', { |
38 app.import('vendor/shims/ammaps.js', { |
36 exports: { |
39 exports: { |
37 'ammaps': ['defaults'] |
40 'ammaps': ['defaults'] |
38 } |
41 } |
39 }); |
42 }); |
40 app.import('vendor/shims/popcorn.js', { |
43 app.import('vendor/shims/popcorn.js', { |
41 exports: { |
44 exports: { |
42 'popcorn': ['defaults'] |
45 'popcorn': ['defaults'] |
43 } |
46 } |
44 }); |
47 }); |
|
48 app.import('vendor/shims/chroma.js', { |
|
49 exports: { |
|
50 'chroma': ['defaults'] |
|
51 } |
|
52 }); |
|
53 |
45 |
54 |
46 return app.toTree(); |
55 return app.toTree(); |
47 }; |
56 }; |