clientperf 0.1.4 → 0.1.5
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/clientperf.gemspec +2 -2
- data/lib/clientperf.rb +1 -1
- data/lib/extend_action_controller.rb +1 -1
- metadata +1 -1
data/clientperf.gemspec
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
# Gem::Specification for Clientperf-0.1.
|
|
2
|
+
# Gem::Specification for Clientperf-0.1.5
|
|
3
3
|
# Originally generated by Echoe
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = %q{clientperf}
|
|
7
|
-
s.version = "0.1.
|
|
7
|
+
s.version = "0.1.5"
|
|
8
8
|
|
|
9
9
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
|
10
10
|
|
data/lib/clientperf.rb
CHANGED
|
@@ -22,7 +22,7 @@ module ExtendActionController
|
|
|
22
22
|
bottom = %q(
|
|
23
23
|
<script type='text/javascript'>
|
|
24
24
|
(function() {
|
|
25
|
-
function fn() { var end = (new Date()).getTime(), img = document.createElement('img'); img.src = '/clientperf/measure.gif?b='+_clientPerfStart+'&e='+end+'&u='+encodeURIComponent(location.href); document.body.appendChild(img); };
|
|
25
|
+
function fn() { var end = (new Date()).getTime(), img = document.createElement('img'); img.height ='1'; img.width = '1'; img.src = '/clientperf/measure.gif?b='+_clientPerfStart+'&e='+end+'&u='+encodeURIComponent(location.href); document.body.appendChild(img); };
|
|
26
26
|
if (window.addEventListener) { window.addEventListener('load', fn, false); }
|
|
27
27
|
else if (window.attachEvent) { window.attachEvent('onload', fn); }
|
|
28
28
|
else { var chain = window.onload; window.onload = function(e) { if(chain !== undefined) { chain(e); } fn(); } }
|