blacklight-spotlight 3.6.0.beta1 → 3.6.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spotlight/application.js +0 -5
- data/app/assets/javascripts/spotlight/spotlight.esm.js +0 -11
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +0 -11
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/assets/stylesheets/spotlight/_browse.scss +1 -1
- data/app/assets/stylesheets/spotlight/_spotlight.scss +36 -38
- data/app/assets/stylesheets/spotlight/_variables.scss +0 -21
- data/app/assets/stylesheets/spotlight/browse_group_categories_block.scss +1 -1
- data/app/controllers/spotlight/browse_controller.rb +5 -1
- data/app/controllers/spotlight/catalog_controller.rb +5 -1
- data/app/controllers/spotlight/dashboards_controller.rb +5 -1
- data/app/javascript/spotlight/user/index.js +1 -3
- data/app/models/spotlight/blacklight_configuration.rb +2 -2
- data/app/views/shared/_analytics.html.erb +10 -9
- data/lib/generators/spotlight/templates/config/initializers/spotlight_initializer.rb +14 -7
- data/lib/spotlight/engine.rb +25 -15
- data/lib/spotlight/version.rb +1 -1
- metadata +2 -17
- data/app/javascript/spotlight/user/analytics.es6 +0 -9
@@ -4,16 +4,6 @@
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Spotlight = factory());
|
5
5
|
})(this, (function () { 'use strict';
|
6
6
|
|
7
|
-
class Analytics {
|
8
|
-
connect() {
|
9
|
-
if (window._gaq != null) {
|
10
|
-
return _gaq.push(['_trackPageview']);
|
11
|
-
} else if (window.pageTracker != null) {
|
12
|
-
return pageTracker._trackPageview();
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
7
|
class BrowseGroupCateogries {
|
18
8
|
connect() {
|
19
9
|
var $container, slider;
|
@@ -173,7 +163,6 @@
|
|
173
163
|
|
174
164
|
class UserIndex {
|
175
165
|
connect() {
|
176
|
-
new Analytics().connect();
|
177
166
|
new BrowseGroupCateogries().connect();
|
178
167
|
new Carousel().connect();
|
179
168
|
new ClearFormButton().connect();
|