sb-styleguide 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
sb-styleguide (0.0.
|
12
|
+
sb-styleguide (0.0.8)
|
13
13
|
actionpack (~> 3.1)
|
14
14
|
activesupport (~> 3.1)
|
15
15
|
compass-rails
|
@@ -110,9 +110,10 @@ GEM
|
|
110
110
|
maruku (0.6.0)
|
111
111
|
syntax (>= 1.0.0)
|
112
112
|
mime-types (1.19)
|
113
|
-
modular-scale (1.0.
|
114
|
-
compass (>= 0.
|
115
|
-
|
113
|
+
modular-scale (1.0.6)
|
114
|
+
compass (>= 0.12.1)
|
115
|
+
sass (>= 3.2.0)
|
116
|
+
sassy-math (>= 1.5)
|
116
117
|
multi_json (1.3.6)
|
117
118
|
polyglot (0.3.3)
|
118
119
|
rack (1.4.1)
|
@@ -52,6 +52,7 @@ plugin = ($)->
|
|
52
52
|
$.fn.gaEvent = ( option , type = "gaevent") ->
|
53
53
|
this.each ->
|
54
54
|
$this = $(@)
|
55
|
+
$this = if ($t = $(this)).is("[data-#{type}]") then $t else $t.closest("[data-#{type}]")
|
55
56
|
data = $this.data 'gaeventplugin'
|
56
57
|
if not (eventContent= $this.data type ) then return removeData($this, type)
|
57
58
|
if !data then $this.data 'gaeventplugin', (data = new GAEvent @, eventContent)
|