govuk_frontend_toolkit 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/app/assets/CHANGELOG.md
CHANGED
data/app/assets/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.3.0
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
GOVUK.analyticsPlugins.printIntent = function () {
|
|
8
8
|
var printAttempt = (function () {
|
|
9
9
|
GOVUK.analytics.trackEvent('Print Intent', document.location.pathname);
|
|
10
|
+
GOVUK.analytics.trackPageview('/print' + document.location.pathname);
|
|
10
11
|
});
|
|
11
12
|
|
|
12
13
|
// Most browsers
|
|
@@ -17,11 +18,11 @@
|
|
|
17
18
|
if (!mql.matches && mqlListenerCount === 0) {
|
|
18
19
|
printAttempt();
|
|
19
20
|
mqlListenerCount++;
|
|
20
|
-
// If we try and print again
|
|
21
|
+
// If we try and print again within 3 seconds, don't log it
|
|
21
22
|
window.setTimeout(function () {
|
|
22
23
|
mqlListenerCount = 0;
|
|
23
24
|
// printing will be tracked again now
|
|
24
|
-
},
|
|
25
|
+
}, 3000);
|
|
25
26
|
}
|
|
26
27
|
});
|
|
27
28
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_frontend_toolkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.3.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-03-
|
|
12
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -288,7 +288,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
288
288
|
version: '0'
|
|
289
289
|
segments:
|
|
290
290
|
- 0
|
|
291
|
-
hash:
|
|
291
|
+
hash: 841556332065995635
|
|
292
292
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
293
293
|
none: false
|
|
294
294
|
requirements:
|
|
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
297
297
|
version: '0'
|
|
298
298
|
segments:
|
|
299
299
|
- 0
|
|
300
|
-
hash:
|
|
300
|
+
hash: 841556332065995635
|
|
301
301
|
requirements: []
|
|
302
302
|
rubyforge_project:
|
|
303
303
|
rubygems_version: 1.8.23
|