coffee_middleware 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da2f7dec96dcc3413e88c67ba8b9640c95281261
|
4
|
+
data.tar.gz: da0b2b8a90665657e68a6919e63ae666e76cf0f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 004259339dec212099bbc3b75776db6d17259e85f648792d29ce86980d5e7392ecbb8bf426aca0dda45ed2d028c070e284b2aaa423eebc61d824543a05ce079f
|
7
|
+
data.tar.gz: e6ec61da8931e0ee3869f2ef379dddca87530feacdc6f71864f0d651333252d09cf2af81b8e9df8f9372eabf736b87456ab0a8999d74261b6e1316fe3cc22fc3
|
@@ -56,7 +56,9 @@ class CoffeeMiddleware.System.Base
|
|
56
56
|
@handleSubscriptions: ->
|
57
57
|
for event in @subscribeTo
|
58
58
|
($ @scope).on event, (e) =>
|
59
|
-
|
59
|
+
parent = $(e.target).parent()
|
60
|
+
context = if parent.length > 0 then parent else e.target
|
61
|
+
@[@bindMethod].apply(@, [@selector, context])
|
60
62
|
|
61
63
|
|
62
64
|
@addToCache: (name, element) ->
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coffee_middleware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juri Semjonov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-11-
|
12
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: coffee-script
|