bigbro 0.9 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/bigbro.rb +7 -9
  2. metadata +2 -1
@@ -1,7 +1,7 @@
1
1
  require 'bigbro/railtie' if defined? Rails
2
2
 
3
3
  module BigBro
4
- Version = '0.9'
4
+ Version = '0.9.1'
5
5
 
6
6
  module Helpers
7
7
  # Embeds the optimized Analytics code and the noscript tag with
@@ -25,14 +25,12 @@ module BigBro
25
25
  code = ''
26
26
  code.concat javascript_tag(%(
27
27
  var _gaq = #{ga_cmds.to_json};
28
- $(document).ready (function () { // Because of Opera and FF <= 3.5
29
- try {
30
- (function(d, t, a) {
31
- var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
32
- g[a]=a;g.src='#{ga_host}/ga.js';s.parentNode.insertBefore(g,s);
33
- }) (document, 'script', 'async');
34
- } catch (err) {}
35
- });
28
+ try {
29
+ (function(d,t,a) {
30
+ var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
31
+ g[a]=a;g.src='#{ga_host}/ga.js';s.parentNode.insertBefore(g,s);
32
+ })(document, 'script', 'async');
33
+ } catch (err) {}
36
34
  ))
37
35
 
38
36
  code.concat(content_tag(:noscript,
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- version: "0.9"
8
+ - 1
9
+ version: 0.9.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Marcello Barnaba