elementaljs-rails 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -30,11 +30,10 @@
|
|
30
30
|
|
31
31
|
ns.load = function(container) {
|
32
32
|
var $selector;
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
$selector = $(container).find("*").andSelf().filter("[data-behavior]");
|
33
|
+
$selector = $('[data-behavior]', container);
|
34
|
+
|
35
|
+
if ($(container).data('behavior')) {
|
36
|
+
$selector = $selector.add(container);
|
38
37
|
}
|
39
38
|
|
40
39
|
$selector.each(function(index, element) {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elementaljs-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-rails
|
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
segments:
|
76
76
|
- 0
|
77
|
-
hash: -
|
77
|
+
hash: -3807646498383333032
|
78
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
79
|
none: false
|
80
80
|
requirements:
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
segments:
|
85
85
|
- 0
|
86
|
-
hash: -
|
86
|
+
hash: -3807646498383333032
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
89
|
rubygems_version: 1.8.25
|