Package: ruby-rails-assets-jquery.slimscroll / 1.3.6+dfsg-3

remove-google-analytics.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/allow-page-scroll.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/allow-page-scroll.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/allow-page-scroll.html
@@ -86,7 +86,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/chaining.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/chaining.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/chaining.html
@@ -72,7 +72,7 @@ $('#testDiv').slimscroll({
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/disable-fade-out.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/disable-fade-out.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/disable-fade-out.html
@@ -86,7 +86,7 @@ $('#testDiv2').slimscroll({
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/dynamic-content.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/dynamic-content.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/dynamic-content.html
@@ -73,7 +73,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/height-width.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/height-width.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/height-width.html
@@ -117,7 +117,7 @@ $('#testDiv3').slimscroll();
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/mouse-wheel.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/mouse-wheel.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/mouse-wheel.html
@@ -91,7 +91,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/multiple-elements.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/multiple-elements.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/multiple-elements.html
@@ -112,7 +112,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/nested.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/nested.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/nested.html
@@ -74,7 +74,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/programmatic-scrolling.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/programmatic-scrolling.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/programmatic-scrolling.html
@@ -130,7 +130,7 @@ $('#scrollUpTo').click(function(){
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/rail.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/rail.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/rail.html
@@ -182,7 +182,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scroll-events.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/scroll-events.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scroll-events.html
@@ -80,7 +80,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scrollbar.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/scrollbar.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scrollbar.html
@@ -181,7 +181,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>
Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/start-position.html
===================================================================
--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/start-position.html
+++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/start-position.html
@@ -92,7 +92,7 @@
 
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
 </script>