|
1 |
| -// This is a manifest file that'll be compiled into application.js, which will include all the files |
2 |
| -// listed below. |
| 1 | +// This is a SPROCCKETS manifest file that'll be compiled into an application.js |
3 | 2 | //
|
4 |
| -// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's |
5 |
| -// vendor/assets/javascripts directory can be referenced here using a relative path. |
| 3 | +// It can include files via sprockets `//= require` directives in JS comments, |
| 4 | +// below. |
6 | 5 | //
|
7 |
| -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the |
8 |
| -// compiled file. JavaScript code in this file should be added after the last require_* statement. |
9 |
| -// |
10 |
| -// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details |
11 |
| -// about supported directives. |
| 6 | +// Our sciencehistory app generally tries to avoid using sprockets for JS now, we |
| 7 | +// use vite. This *only* includes assets which cannot be conveniently included via |
| 8 | +// vite, for instance from dependencies that *only* provide their assets in manner |
| 9 | +// for sprockets inclusion. |
12 | 10 | //
|
| 11 | +// This will produce a secondary `application.js` included via rails |
| 12 | +// `javascript_include_tag`. For bulk of our JS, see vite stuff |
| 13 | +// at ./app/frontend |
13 | 14 |
|
14 | 15 |
|
15 | 16 | // browse_everything https://github.com/samvera/browse-everything
|
|
24 | 25 | //= require jquery.treetable
|
25 | 26 | //= require browse_everything/behavior
|
26 | 27 |
|
| 28 | + |
| 29 | + |
27 | 30 | // Required by Blacklight
|
28 | 31 | // not currently using blacklight 'suggest' func which uses twitter typeahead.
|
29 | 32 | // twitter typeahead is a non maintained kind of mess, so we might try to
|
|
33 | 36 | // require twitter/typeahead
|
34 | 37 | //= require blacklight/blacklight
|
35 | 38 |
|
| 39 | + |
| 40 | + |
36 | 41 | // For blacklight_range_limit built-in JS, if you don't want it you don't need
|
37 | 42 | // this:
|
38 | 43 | //= require 'blacklight_range_limit'
|
39 | 44 |
|
| 45 | + |
| 46 | + |
40 | 47 | //= require_tree .
|
41 | 48 |
|
42 | 49 |
|
|
0 commit comments