jquery-watcher 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/assets/javascripts/jquery-watcher/watcher.coffee +5 -1
- data/jquery-watcher.gemspec +2 -2
- data/lib/jquery/watcher/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cc0d59b74aa5ae6e1b8cf873abc4767936fa559
|
4
|
+
data.tar.gz: ed339080034d89226053056b08fb74d9e48606a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e355df9875e97c9bff4d038c321fd960fc3efcf3504b6a245ab70318f37a08567211eb873b9a89a4338823d9c97a6f4e378c058854474e8f141f6590806e965
|
7
|
+
data.tar.gz: b58bdbc33ecdc911314bbc2dded747fa3c8a1e3d4923002d4bb4df1acdf2992f32d344a713ca66f1b8e8b38fbe9d2b0e9e11baa5d7373038f86d54bb7d2a3847
|
data/CHANGELOG.md
CHANGED
@@ -10,7 +10,11 @@ class @JqueryWatcher
|
|
10
10
|
|
11
11
|
element.data(('jquery-watcher-id-' + id + '-watching'), 'true')
|
12
12
|
|
13
|
-
$.each
|
13
|
+
$.each element, (i, e) ->
|
14
|
+
elem = $(e)
|
15
|
+
|
16
|
+
if elem.length
|
17
|
+
callback(elem)
|
14
18
|
|
15
19
|
$(document).ready ->
|
16
20
|
$(selector).each ->
|
data/jquery-watcher.gemspec
CHANGED
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_runtime_dependency 'coffee-rails', '>= 4.0'
|
27
27
|
|
28
|
-
spec.add_development_dependency 'bundler'
|
29
|
-
spec.add_development_dependency 'rake'
|
28
|
+
spec.add_development_dependency 'bundler'
|
29
|
+
spec.add_development_dependency 'rake'
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-watcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Schwab
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|
@@ -28,30 +28,30 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
description: Allow initialization of javascript code regardless of document.ready,
|
56
56
|
turbolinks or dom changes (e.g. Ajax).
|
57
57
|
email:
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.6.
|
98
|
+
rubygems_version: 2.6.12
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Allow initialization of javascript code regardless of document.ready, turbolinks
|