govuk_publishing_components 24.14.1 → 24.15.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 729df29e097df884f79f01722e225592d37037055e6f13780b769dd7e34d5e85
|
4
|
+
data.tar.gz: 2db0c1350634a48d1e12cc03c8c932b1a2832596b363a04fd7383ddc9c55b400
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9596ad426b063115f7b73752c3779f9cbbedd4d51d53a73a61ece55be54213fedba844ae969ff4b614b12e8bbbcc778b7e34325020566422903d4c0a99f6222b
|
7
|
+
data.tar.gz: 5d595b291c1e8f9afc478369f29f84a9d5d373c3fa0757e61bd738aa7b4fd633e6ce44c96e6802653e049039fe0f925c7f02b3585ee16c523c5f12818f5659d5
|
@@ -8,19 +8,32 @@
|
|
8
8
|
*/
|
9
9
|
|
10
10
|
|
11
|
-
/* ! Remember to keep
|
11
|
+
/* ! Remember to keep these settings at the end of this file when updating LUX:
|
12
12
|
*
|
13
|
-
* The settings are:
|
14
13
|
* * `LUX.customerid = 47044334` to let LUX know who this is
|
15
14
|
* * `LUX.beaconMode = "simple"` to fire the beacon as an image, which is now
|
16
15
|
* allowed by the content security policy.
|
17
16
|
* * `LUX.debug = false` turns debugging on and off. Left set to false - and
|
18
17
|
* kept in the file so it's easier to remember that this can be turned on.
|
18
|
+
*
|
19
|
+
* ! And the sample rate needs to be set inside the main function that's
|
20
|
+
* assigned to `LUX`:
|
21
|
+
|
22
|
+
* * `LUX.samplerate = 1` to set sample rate to 1% of users.
|
19
23
|
*/
|
20
24
|
|
21
25
|
var LUX_t_start = Date.now(),
|
22
26
|
LUX = window.LUX || {};
|
23
27
|
LUX = function() {
|
28
|
+
// -------------------------------------------------------------------------
|
29
|
+
// Settings
|
30
|
+
// -------------------------------------------------------------------------
|
31
|
+
// Set the sample rate to 1% to avoid all events being sent.
|
32
|
+
LUX.samplerate = 1
|
33
|
+
// -------------------------------------------------------------------------
|
34
|
+
/// End
|
35
|
+
// -------------------------------------------------------------------------
|
36
|
+
|
24
37
|
var gaLog = [];
|
25
38
|
dlog("lux.js evaluation start.");
|
26
39
|
var version = "214",
|
@@ -829,6 +842,10 @@ LUX = function() {
|
|
829
842
|
}();
|
830
843
|
var LUX_t_end = Date.now();
|
831
844
|
|
845
|
+
// -----------------------------------------------------------------------------
|
846
|
+
// More settings
|
847
|
+
// -----------------------------------------------------------------------------
|
848
|
+
//
|
832
849
|
// This ID usually appended to the end of the lux.js as a query string when
|
833
850
|
// using the SpeedCurve hosted version - but we have to include it here as this
|
834
851
|
// is self hosted.
|
@@ -842,3 +859,10 @@ LUX.beaconMode = "simple";
|
|
842
859
|
// `LUX.getDebug()` in the browser's console will show the history of what's
|
843
860
|
// happened.
|
844
861
|
LUX.debug = false;
|
862
|
+
|
863
|
+
// Forces sampling - useful for when used with `debug = true`
|
864
|
+
// LUX.forceSample()
|
865
|
+
|
866
|
+
// -----------------------------------------------------------------------------
|
867
|
+
// End of more settings
|
868
|
+
// -----------------------------------------------------------------------------
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 24.
|
4
|
+
version: 24.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|