Skip to content

Commit c08bfcd

Browse files
committed
Changed the tag minification linebreak option from 50 to 60 for aesthetic reasons
1 parent 9184766 commit c08bfcd

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ module.exports = function(grunt) {
136136
},
137137
tag: {
138138
options: {
139-
linebreak: 50
139+
linebreak: 60
140140
},
141141
files: [
142142
{

examples/web/async-medium.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
// Load sp.js
2424
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
2525
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
26-
};n=l.createElement(o);g=l.getElementsByTagName(o)[0];
27-
n.async=1;n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","../../dist/snowplow.js","new_name_here"));
26+
};n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
27+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","../../dist/snowplow.js","new_name_here"));
2828

2929
window.new_name_here('newTracker', 'cf', 'd3rkrsqld9gmqf.cloudfront.net', {
3030
encodeBase64: false,

examples/web/async-small.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
// Load sp.js
2424
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
2525
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
26-
};n=l.createElement(o);g=l.getElementsByTagName(o)[0];
27-
n.async=1;n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","../../dist/snowplow.js","snowplow"));
26+
};n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
27+
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","../../dist/snowplow.js","snowplow"));
2828

2929
window.snowplow('newTracker', 'cf', 'd3rkrsqld9gmqf.cloudfront.net', { // Initialise a tracker
3030
encodeBase64: false, // Default is true

0 commit comments

Comments
 (0)